Maxbotix ultrasonic distance sensor library

Fork of MaxbotixDriver by Daniel Casner

Revision:
4:95f696f59d94
Parent:
2:911740f19198
--- 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();