Formatting changes on README.md
This commit is contained in:
36
README.md
36
README.md
@@ -1,3 +1,5 @@
|
|||||||
|
|
||||||
|
|
||||||
# tickerPi
|
# tickerPi
|
||||||
|
|
||||||
tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry Pi
|
tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry Pi
|
||||||
@@ -39,11 +41,11 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
|
|||||||
sudo update-alternatives --install /usr/bin/python python $(which python3) 2
|
sudo update-alternatives --install /usr/bin/python python $(which python3) 2
|
||||||
sudo update-alternatives --config python
|
sudo update-alternatives --config python
|
||||||
```
|
```
|
||||||
2. Enabling I2C and SPI, which is only required to be done **once** for **each** Raspberry Pi:
|
2. Enabling I2C and SPI, which is only required to be done **once** for **each** Raspberry Pi:\
|
||||||
**Only Required if you are using multiple devices on your Raspberry Pi, if not, move to step 3**
|
**Only Required if you are using multiple devices on your Raspberry Pi, if not, move to step 3**\
|
||||||
**Important**
|
**Important:**
|
||||||
> If you are using a GPIO wiring setup for the LEDs that does not support I2C, you will not see anything show up for the LEDS.
|
> If you are using a GPIO wiring setup for the LEDs that does not support I2C, you will not see anything show up for the LEDS.\
|
||||||
Again, this is only for if you have **OTHER** devices you plan on hooking up to make sure they still show up under I2C
|
Again, this is only for if you have **OTHER** devices you plan on hooking up to make sure they still show up under I2C\
|
||||||
|
|
||||||
* Enabling I2C:
|
* Enabling I2C:
|
||||||
* From Command Line:
|
* From Command Line:
|
||||||
@@ -60,8 +62,8 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
|
|||||||
```
|
```
|
||||||
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
|
||||||
```
|
```
|
||||||
@@ -74,7 +76,7 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
|
|||||||
sudo i2cdetect -y 1
|
sudo i2cdetect -y 1
|
||||||
```
|
```
|
||||||
* If you do not get anything back from the above command, try seeing which I2C is being used under Dev:
|
* If you do not get anything back from the above command, try seeing which I2C is being used under Dev:
|
||||||
```
|
```
|
||||||
ls /dev/i2c*
|
ls /dev/i2c*
|
||||||
```
|
```
|
||||||
> whichever number is after the "-" in "/dev/i2c-(X) is what you should replace the number in the command with
|
> whichever number is after the "-" in "/dev/i2c-(X) is what you should replace the number in the command with
|
||||||
@@ -103,18 +105,18 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
|
|||||||
```
|
```
|
||||||
sudo pip3 install adafruit-circuitpython-pixel-framebuf
|
sudo pip3 install adafruit-circuitpython-pixel-framebuf
|
||||||
```
|
```
|
||||||
4. Changing Conflicting HDMI Settings:
|
4. Changing Conflicting HDMI Settings:\
|
||||||
**Important:** Only do this if you are having issues with the LEDs, this is not always needed!
|
**Important:** Only do this if you are having issues with the LEDs, this is not always needed!\
|
||||||
```
|
```
|
||||||
sudo nano /boot/config.txt
|
sudo nano /boot/config.txt
|
||||||
```
|
```
|
||||||
* If it doesn't already exist, add:
|
* If it doesn't already exist, add:
|
||||||
```
|
```
|
||||||
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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user