#include <NewPing.h>
#define TGRP 3
#define ECHP 2
#define DISTANCE 200
NewPing sonar(TGRP, ECHP, DISTANCE);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
delay(50);
Serial.print("Ping: ");
Serial.print(sonar.ping_cm());
Serial.println("cm");
}