Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MaxbotixDriver by
Revision 1:24d9d6d213aa, committed 2015-02-22
- Comitter:
- joe4465
- Date:
- Sun Feb 22 20:12:17 2015 +0000
- Parent:
- 0:7e65f5077f5a
- Commit message:
- Added define check
Changed in this revision
sonar.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 7e65f5077f5a -r 24d9d6d213aa sonar.h --- 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