Maxbotix library

Fork of MaxbotixDriver by Daniel Casner

Revision:
1:24d9d6d213aa
Parent:
0:7e65f5077f5a
--- a/sonar.h	Wed Nov 21 20:47:05 2012 +0000
+++ b/sonar.h	Sun Feb 22 20:12:17 2015 +0000
@@ -1,4 +1,7 @@
 #include "mbed.h"
+
+#ifndef SONAR_H
+#define SONAR_H
 /*** @file Driver for Maxbotix sonar modules
  * Uses pulse width input to read range results.
  * @author Daniel Casner <http://www.danielcasner.org>
@@ -39,4 +42,6 @@
     int pulseStartTime;
     /// The most recent sample
     int range;
- };
\ No newline at end of file
+ };
+ 
+ #endif
\ No newline at end of file