Formatting changes on README.md v5

develop
jhealy 4 years ago
parent 7733a922b6
commit 4e78ca7d24

@ -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:
```
ls /dev/i2c*
```
> 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"
* SPI Testing:
``` ```
ls -l /dev/spidev* > 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"
> This should return a device for each SPI bus (two) * SPI Testing:
```
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

Loading…
Cancel
Save