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.
Dependents: QuadCopter mbed-IBooth-ETH
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 12 of file sonar.h.
Constructor & Destructor Documentation
| Sonar | ( | PinName | input, |
| Timer & | t | ||
| ) |
Member Function Documentation
Generated on Tue Jul 12 2022 20:48:14 by
1.7.2