Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: sensors/sensors.cpp
- Revision:
- 44:39dfefb929eb
- Parent:
- 36:e1398ff45b12
--- a/sensors/sensors.cpp	Wed May 15 09:57:11 2019 +0000
+++ b/sensors/sensors.cpp	Fri May 17 05:49:17 2019 +0000
@@ -111,7 +111,7 @@
 }
 float GetFilteredDist_cm(HCSR04 & sensor, LowPassFilter & filter)
 {
-    wait_ms(90);//60
+    wait_ms(60);//60
     sensor.start();
     wait_ms(30);
     float raw_data = sensor.get_dist_cm();