UltrasonicRanger_Example V1.0
Dependencies: mbed RangeFinder
Diff: main.cpp
- Revision:
- 6:86943d1ed254
- Parent:
- 4:881e860d7de1
- Child:
- 8:25e1f2a7d3bc
diff -r aea777aa5ec6 -r 86943d1ed254 main.cpp --- a/main.cpp Mon Jun 24 09:12:38 2019 +0000 +++ b/main.cpp Mon Jun 24 09:29:33 2019 +0000 @@ -40,7 +40,7 @@ /* Notes pmic 24.06.2019: - With 17500 mus (17.5 ms = 50/20*7000) timout time the max. measured distance is approx. 2.67 m. Theoreticaly it is ( 0.0175 s * 343.2 m/s )/2 = 3.003 m. - - Using 20 Hz (Ts = 50 ms) the max. delay is 17500 ms (@ max. dist. 2.67 m), there for 32.5 ms remain for other tasks + - Using 20 Hz (Ts = 50 ms) the max. delay is 17.5 ms (@ max. dist. 2.67 m), there for 32.5 ms remain for other tasks */ // PB_3 ist ist der 4te von unten rechts, aussen GND innen S16