EasyManua.ls Logo

Keyestudio ESP32 - 4. Test Code

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
3. Wiring Diagram
4. Test Code
The analog value of the potentiometer can be read:
1. Drag the two basic blocks. Put the baud rate setting block between them and set to 9600.
2. Add a “serial print” block in “forever” loop, and select “warp” as the print mode.
3. Drag a “read the value” from “pot” to the serial print, and set the pin to IO33.
270 Chapter 9. Scratch Tutorial

Table of Contents