|
|
|
@ -29,22 +29,22 @@ tickerPi is a Python Program to handle WS281X LED interactions on a Raspberry P
|
|
|
|
|
sudo apt-get upgrade
|
|
|
|
|
sudo pip3 install --upgrade setuptools
|
|
|
|
|
```
|
|
|
|
|
* If this fails, try this and repeat step 1
|
|
|
|
|
```
|
|
|
|
|
* If this fails, try this and repeat step 1
|
|
|
|
|
```
|
|
|
|
|
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
|
|
|
|
|
sudo update-alternatives --install /usr/bin/python python $(which python2) 1
|
|
|
|
|
sudo update-alternatives --install /usr/bin/python python $(which python3) 2
|
|
|
|
|
sudo update-alternatives --config python
|
|
|
|
|
```
|
|
|
|
|
* 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
|
|
|
|
|
sudo update-alternatives --install /usr/bin/python python $(which python2) 1
|
|
|
|
|
sudo update-alternatives --install /usr/bin/python python $(which python3) 2
|
|
|
|
|
sudo update-alternatives --config python
|
|
|
|
|
```
|
|
|
|
|
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**\
|
|
|
|
|
**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\
|
|
|
|
|
**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:
|
|
|
|
|
```
|
|
|
|
|