From bb933c847b6550c44166658bfc36ca2248ad2803 Mon Sep 17 00:00:00 2001 From: rafa Date: Sat, 24 May 2025 14:59:09 +0100 Subject: [PATCH] Remove delay from dist sensor --- code/DistSensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/DistSensor.cpp b/code/DistSensor.cpp index abe839b..1fdaa39 100644 --- a/code/DistSensor.cpp +++ b/code/DistSensor.cpp @@ -9,7 +9,7 @@ class DistSensor { void make_measurement(){ digitalWrite(this->trig_pin, HIGH); - delayMicroseconds(10); + //delayMicroseconds(10); digitalWrite(this->trig_pin, LOW); }