Keyestudio ESP32 Manual page 248

Starter kit
Hide thumbs Also See for ESP32:
Table of Contents

Advertisement

ESP32 Starter Kit
2. Add an "LED output" block, define its pin to IO27 and set the output to HIGH.
3. .Drag an "if" block and add the condition "interface IO19 button was be pushed?".
4. Add a variable setting and four LED output blocks under "then". Among them, we name the variable "item"
with an assignment of "0", and set all outputs to LOW respectively at pin 12,13,14 and 27 (The responder works
only when all LED light off). Likewise, don't forget a 0.2s delay.
244
Chapter 9. Scratch Tutorial

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Related Products for Keyestudio ESP32

Table of Contents

Save PDF