EasyManua.ls Logo

Keyestudio ESP32 - 5. Test Result; 6. Code Explanation

Keyestudio ESP32
344 pages
Print Icon
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...
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

Table of Contents