Mario Câmara, in Caxias do Sul, Brazil, built a CheerLights project he called Saberes&Afazeres and wrote it up in Portuguese as a way to learn to program the ESP32. The LED panel next to his desk shows the current color and the colors that came before it.

The build is a Heltec WiFi ESP32 V2 board with its small OLED screen and a 12-volt string of 50 WS2811 LEDs, set into the holes of a black panel. Every 10 seconds, his Arduino sketch reads the current color from the CheerLights channel on ThingSpeak and lights the next LED in a run of 48 in that color, so the panel fills with a running history of recent colors. When the color changes, a wave of the new color sweeps across the panel before the history comes back. The OLED shows the current color and a timer, in seconds, for how long that color has held. The code uses FastLED and is commented in Portuguese, with small prompts for the reader, such as removing the static from a variable and watching what happens. For another look at CheerLights color history, see What Is the Most Popular CheerLights Color?
Bem, o CheerLights é capaz de proporcionar um ambiente bastante fértil para explorar um série de recursos de programação, a depender de sua imaginação e criatividade.
Mario Câmara, in the project README
In English: CheerLights can be very fertile ground for exploring a whole range of programming features, depending on your imagination and creativity.
The sketch and his write-up, in Portuguese, are on GitHub.
Discover more from CheerLights
Subscribe to get the latest posts sent to your email.

