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
Sonar Class Reference
Object representation of a sonar instance. More...
#include <sonar.h>
Public Member Functions | |
| Sonar (PinName input, Timer &t) | |
| Sets up the driver and starts taking measurements. | |
| int | read () |
| Returns range in cm as int. | |
| operator int () | |
| Returns the range in CM as an int. | |
Detailed Description
Object representation of a sonar instance.
Definition at line 15 of file sonar.h.
Constructor & Destructor Documentation
| Sonar | ( | PinName | input, |
| Timer & | t | ||
| ) |
Member Function Documentation
Generated on Thu Jul 14 2022 20:44:41 by
1.7.2
