Keyestudio ESP32 Manual page 252

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

Advertisement

ESP32 Starter Kit
5. Test Result
Connect the wiring and upload the code. The answers of respondents are only valid when the red LED is off(red button
is pressed).
When someone presses his/her button(yellow, green or blue), the appropriate LED as well as the red counterpart light
up. By now, rest of LED cannot turn on when pressing buttons. The responding action can be performed only when
the red button is pressed again.
6. Code Explanation
1. Condition loop module. When the conditions in the diamond box of the module are met, the loop will exit .
2. "=" block is used to judge whether the two values are equal.
9.2.19 Project 16: Timebomb
1. Description
This project will give you an opportunity experience an interesting timebomb game.
In this project, the dot matrix represents your timebomb, while the digital tube displays remaining time. Buttons can
not only control the bomb but also set its time. You may set a countdown to control this bomb, and it explodes when
the countdown is over. Beyond that, a buzzer is adopted to alarm.
Anyhow, by programming on multiple sensors, your comprehensive capability of logic thinking can be enhanced.
248
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