|
|
@ -75,31 +75,31 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
|
|
|
|
```
|
|
|
|
```
|
|
|
|
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
|
|
|
|
>> Example: /dev/i2c-3 = "sudo i2cdetect -y 3"
|
|
|
|
>> Example: /dev/i2c-3 = "sudo i2cdetect -y 3"
|
|
|
|
* SPI Testing:
|
|
|
|
* SPI Testing:
|
|
|
|
```
|
|
|
|
```
|
|
|
|
ls -l /dev/spidev*
|
|
|
|
ls -l /dev/spidev*
|
|
|
|
```
|
|
|
|
```
|
|
|
|
> This should return a device for each SPI bus (two)
|
|
|
|
> 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:
|
|
|
|
```
|
|
|
|
```
|
|
|
|
sudo pip3 install RPI.GPIO
|
|
|
|
sudo pip3 install RPI.GPIO
|
|
|
|
```
|
|
|
|
```
|
|
|
|
* Adafruit Blinka:
|
|
|
|
* Adafruit Blinka:
|
|
|
|
```
|
|
|
|
```
|
|
|
|
sudo pip3 install adafruit-blinka
|
|
|
|
sudo pip3 install adafruit-blinka
|
|
|
|
```
|
|
|
|
```
|
|
|
|
* RPi WS281X and Neopixel:
|
|
|
|
* RPi WS281X and Neopixel:
|
|
|
|
```
|
|
|
|
```
|
|
|
|
sudo pip3 install rpi_ws281x adafruit-circuitpython-neopixel
|
|
|
|
sudo pip3 install rpi_ws281x adafruit-circuitpython-neopixel
|
|
|
|
sudo python3 -m pip install --force-reinstall adafruit-blinka
|
|
|
|
sudo python3 -m pip install --force-reinstall adafruit-blinka
|
|
|
|
```
|
|
|
|
```
|
|
|
|
* PixelFramebuffer:
|
|
|
|
* PixelFramebuffer:
|
|
|
|
```
|
|
|
|
```
|
|
|
|
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!\
|
|
|
|
```
|
|
|
|
```
|
|
|
|