ESP32 Starter Kit
3. Wiring Diagram
4. Test Code
In "forever" block, construct two "serial print" blocks and drag a "read distance" block from "Ultrasonic". Set trig pin
to IO13 and echo pin to IO14 both in cm. Do not forget a delay of 0.5s.
9.2. Scratch Project
307
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers