Maxbotix ultrasonic distance sensor library
Fork of MaxbotixDriver by
Diff: sonar.h
- Revision:
- 4:95f696f59d94
- Parent:
- 2:911740f19198
diff -r c231deea4d36 -r 95f696f59d94 sonar.h --- a/sonar.h Fri Jan 17 14:49:13 2020 +0000 +++ b/sonar.h Thu Jan 30 11:52:10 2020 +0000 @@ -27,7 +27,9 @@ /// Returns the range in CM as an int operator int(); - + + bool getRange( int *outRawDistance, int *outDistance, float temperature ); + private: /// Inturrupt at start of pulse void pulseStart();