EasyManua.ls Logo

SunFounder ESP32

Default Icon
771 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SunFounder ESP32 Starter Kit
So the code to make the RGB LED light yellow is as follows.
When the Ball sprite (yellow ball) is clicked, we set pin 27 high (red LED on), pin 26 high (green LED on) and pin 25
low (blue LED off) so that the RGB LED will light yellow.
You can write codes to other sprites in the same way to make the RGB LEDs light up in the corresponding colors.
3. Ball2 sprite (light blue)
4.6. 2.3 Colorful Balls 489

Table of Contents