Formatting changes on README.md v5

This commit is contained in:
jhealy
2021-01-10 12:02:15 -05:00
parent 7733a922b6
commit 4e78ca7d24

View File

@@ -54,33 +54,33 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
``` ```
* Interfacing Options > I2C > Enable > Yes * Interfacing Options > I2C > Enable > Yes
> If you did not hit "finish" you can repeat these steps but change out the I2C for the SPI > If you did not hit "finish" you can repeat these steps but change out the I2C for the SPI
* Enabling SPI: * Enabling SPI:
* From Command Line: * From Command Line:
``` ```
sudo raspi-config sudo raspi-config
``` ```
* Interfacing Options > SPI > Enable > Yes * Interfacing Options > SPI > Enable > Yes
* Click "Finish" * Click "Finish"
* Reboot your Raspberry Pi * Reboot your Raspberry Pi
``` ```
sudo reboot sudo reboot
``` ```
* Testing I2C and SPI after reboot: * Testing I2C and SPI after reboot:
* I2C Testing: * I2C Testing:
```
sudo i2cdetect -y 1
```
* If you do not get anything back from the above command, try seeing which I2C is being used under Dev:
``` ```
sudo i2cdetect -y 1 ls /dev/i2c*
``` ```
* If you do not get anything back from the above command, try seeing which I2C is being used under Dev: > Whichever number is after the "-" in "/dev/i2c-(X) is what you should replace the number in the command with
``` >> Example: /dev/i2c-3 = "sudo i2cdetect -y 3"
ls /dev/i2c* * SPI Testing:
``` ```
> whichever number is after the "-" in "/dev/i2c-(X) is what you should replace the number in the command with ls -l /dev/spidev*
>> Example: /dev/i2c-3 = "sudo i2cdetect -y 3" ```
* SPI Testing: > This should return a device for each SPI bus (two)
```
ls -l /dev/spidev*
```
> This should return a device for each SPI bus (two)
3. Installing Python Support Libraries: 3. Installing Python Support Libraries:
* GPIO - If not already installed: * GPIO - If not already installed:
``` ```
@@ -109,11 +109,11 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
hdmi_force_hotplug=1 hdmi_force_hotplug=1
hdmi_force_edid_audio=1 hdmi_force_edid_audio=1
``` ```
* Save and exit the file (ctrl + x > y) * Save and exit the file (ctrl + x > y)
* Reboot Raspberry Pi * Reboot Raspberry Pi
``` ```
sudo reboot sudo reboot
``` ```
## Usage ## Usage
TBD TBD