|
|
|
@ -33,7 +33,6 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
|
|
|
|
|
```
|
|
|
|
|
sudo apt-get install python3-pip
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
* Recommended, but may not be required, setting your Python install to default with Python 3. There are multiple ways to do this, here's an example:
|
|
|
|
|
```
|
|
|
|
|
sudo apt-get install -y python3 git python3-pip
|
|
|
|
@ -46,7 +45,6 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
|
|
|
|
|
**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.\
|
|
|
|
|
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:
|
|
|
|
|
* From Command Line:
|
|
|
|
|
```
|
|
|
|
@ -56,7 +54,6 @@ 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:
|
|
|
|
|
```
|
|
|
|
@ -69,7 +66,6 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
|
|
|
|
|
```
|
|
|
|
|
sudo reboot
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
* Testing I2C and SPI after reboot:
|
|
|
|
|
* I2C Testing:
|
|
|
|
|
```
|
|
|
|
@ -86,7 +82,6 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
|
|
|
|
|
ls -l /dev/spidev*
|
|
|
|
|
```
|
|
|
|
|
> This should return a device for each SPI bus (two)
|
|
|
|
|
|
|
|
|
|
3. Installing Python Support Libraries:
|
|
|
|
|
* GPIO - If not already installed:
|
|
|
|
|
```
|
|
|
|
@ -120,8 +115,6 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
|
|
|
|
|
```
|
|
|
|
|
sudo reboot
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
TBD
|
|
|
|
|