SunFounder ESP32 Starter Kit
Follow the same method to change the color of the other lines.
3. Scripting the Ball sprite
Set the initial position of the Ball sprite, then when the light value is less than 1500 (it can be any other value, depending
on your current environment.), let the Ball move up.
You can make the variable light_value show up on the stage to observe the change of light intensity at any time.
542 Chapter 4. Play with Scratch