Maxbotix ultrasonic distance sensor library
Fork of MaxbotixDriver by
Diff: sonar.h
- Revision:
- 1:330989f98a6e
- Parent:
- 0:7e65f5077f5a
- Child:
- 2:911740f19198
--- a/sonar.h Wed Nov 21 20:47:05 2012 +0000 +++ b/sonar.h Sun Dec 27 19:47:07 2015 +0000 @@ -20,6 +20,9 @@ Sonar(PinName input, Timer& t); /// Returns range in cm as int + int readCm(); + + /// Returns range in mS as int int read(); /// Returns the range in CM as an int