#include <Ultrasonic.h>
Ultrasonic sensor(13, 12);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Teste de sensor de distância");
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println(sensor.read());
delay(10); // this speeds up the simulation
}