Clone & Edit Download Edit
test_HC-SR04.ino
1
2
#include <NewPing.h>
#define TRIGGER_PIN 12 // Connect the sensor's TRIG pin to this pin on the Arduino
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX