diff --git a/README.md b/README.md index f975ce9..1dc8eb5 100644 --- a/README.md +++ b/README.md @@ -54,33 +54,33 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P ``` * Interfacing Options > I2C > Enable > Yes > If you did not hit "finish" you can repeat these steps but change out the I2C for the SPI - * Enabling SPI: - * From Command Line: - ``` - sudo raspi-config - ``` - * Interfacing Options > SPI > Enable > Yes + * Enabling SPI: + * From Command Line: + ``` + sudo raspi-config + ``` + * Interfacing Options > SPI > Enable > Yes * Click "Finish" * Reboot your Raspberry Pi ``` sudo reboot ``` - * Testing I2C and SPI after reboot: - * I2C Testing: + * Testing I2C and SPI after reboot: + * 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 - ``` - * 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 /dev/i2c* ``` - ls -l /dev/spidev* - ``` - > This should return a device for each SPI bus (two) + > 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* + ``` + > This should return a device for each SPI bus (two) 3. Installing Python Support Libraries: * 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_edid_audio=1 ``` - * Save and exit the file (ctrl + x > y) - * Reboot Raspberry Pi - ``` - sudo reboot - ``` + * Save and exit the file (ctrl + x > y) + * Reboot Raspberry Pi + ``` + sudo reboot + ``` ## Usage TBD