Maxbotix library
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