Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HariComputes authored May 31, 2024
1 parent 151f2eb commit a3ba3d4
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,14 @@ This is meant to run on a Raspberry Pi. (original author used pi 3. I'm using pi
* screen
* Flask

Run this to install the rpi_ws281x (LED) driver library
Run this to install the rpi_ws281x (LED) driver library (Be aware that this goes against best practices. If you want this done correctly. the package needs to be done under venv)
```
cd ~
git clone https://github.com/TheDeadGuy/rpi_ws281x.git
sudo apt install scons swig cmake pip
cd rpi_ws281x
scons
cd python
sudo -H python setup.py build
sudo -H python setup.py install
sudo pip3 install rpi_ws281x --break-system-packages
```

And run this to install the other dependencies - The pip command may need to be ran in a venv depending on your OS version.
And run this to install the other dependencies - (Be aware that this goes against best practices. If you want this done correctly. the package needs to be done under venv)
```
pip install adafruit-ads1x15 --user # install the ADS1015 i2c library
pip install adafruit-ads1x15 --user --break-system-packages # install the ADS1015 i2c library
sudo apt install screen python3-matplotlib python3-pyaudio python3-requests python3-flask # get screen
```

Expand Down

0 comments on commit a3ba3d4

Please sign in to comment.