diff --git a/source/distancethread.cpp b/source/distancethread.cpp index fecd077..0df5e3d 100644 --- a/source/distancethread.cpp +++ b/source/distancethread.cpp @@ -29,7 +29,7 @@ void DistanceThread::run() while (true) { std::vector values; - for (int i = 0; i < 5; ++i) + for (int i = 0; i < 15; ++i) { digitalWrite(m_triggerPin, HIGH); delayMicroseconds(10);