Clone & Edit Download Edit
(distance sensor) hcsr04.ino
1
2
/* Emulating a car park sensor with Arduino
the serial monitor prints the distance in cm. The buzzer sounds for 20ms and the
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX