3. Wiring Diagram
4. Test Code
The analog value of the photoresistor 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 with the mode "warp".
3. Drag a "read the value" block from "Light" to the "serial print" block, and set the pin to IO33.
9.2. Scratch Project
ESP32 Starter Kit
275
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers