ESP32 Starter Kit
5. Test Result
After uploading code and powering on, the buzzer emits sound for 1s and stays quiet for 1s.
6. Code Explanation
Buzzer output block. We firstly define the pin to IO5 and then set the output to "HIGH" or "LOW". The buzzer will
beep when at HIGH, while it will be quiet at LOW.
9.2. Scratch Project
201
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers