Flask webpage on Raspberry Pi controls neopixel LED lights to display custom patterns and animations
custom.LED.lights.controlled.with.local.website.mp4
custom.LED.lights.in.development.mp4
this code runs a webpage with flask/waitress for controlling neopixel (WS2812) led strips plugged into a Raspberry Pi Zero
See this tutorial for instructions on connected LEDs to a Raspberry Pi
required libraries:
- flask*
- waitress*
- rpi_ws281x
*required to run web server, lights can be controlled directly from the Raspberry Pi without these
much of this code was written in the span of a few weeks, recklessly neglecting the use of comments and irresponibly endangering my future sanity by the absolute refusal to follow any kind of best-practices. As such, if one desires to embark on a simmiliar project of their own, I strongly reccomend that you stray no further down this path. Read this to see the horrors that lie within, then burn it to the ground. With any luck, from the ashes you will be able to piece together your own project