ESP32 Starter Kit
Put the above three variables in "RGB" block so that these color values are controlled. Then add a refresh module.
Put the RGB in a "show color" block to display colors. And define a variable item to control the displayed LED.
The forever module is used to control RGB LEDs, which will cycle from 0-5 to gradually light up each light.
190
Chapter 9. Scratch Tutorial
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers