i am trying to get my WS2812 NeoPixel python sketch to run at boot, i used a tutorial https://tutorials-raspberrypi.com/connect-control-raspberry-pi-ws2812-rgb-led-strips/ it install the correct files and such and all works fine when i run the commands in terminal the lights do as they are meant to, an just trying to figure out how to make them start on boot, i am still really new to all of this
the 3 commands i use to run the python script as follow
cd rpi_ws281x/
cd python
sudo PYTHONPATH=".:build/lib.linux-armv7l-2.7" python examples/strandtest.py
any help would be much approached
i have tried following a tutorial on hear explaining what to do and it always comes back with an error file or directory not found
sudo
looks wrong. Usually anything all caps with an = should appear first thing on the line (they are environment variables). The corrected line would bePYTHONPATH=".:build/lib.linux-armv7l-2.7" sudo python examples/strandtest.py
. – Fred Nov 23 '19 at 15:57