Microcontrollers, Mathematics and a Merry Christmas
Prelude
We decided to put up some lights around the house for this year’s Christmas. As is my curse, I decided to whip up some fancy rainbow animations using a bunch of WS2811 LEDs and a NodeMCU that I had lying around. (see: LeapRGB)
What’s unique about these LEDs is that each one contains an IC; as such, it allows you to individually control each LED in the strip. A typical LED strip might have a power and a ground line and have the entire strip light up uniformly. Here, we have a power, ground and a data line that can be fed using a microcontroller.