EasyManuals Logo

SunFounder ESP32 User Manual

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
Page #495 background imageLoading...
Page #495 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the SunFounder ESP32 and is the answer not in the manual?

SunFounder ESP32 Specifications

General IconGeneral
BrandSunFounder
ModelESP32
CategoryController
LanguageEnglish