#include <sonar.h>
Public Member Functions | |
void | poll (void) |
Sonar () |
Sonar::Sonar | ( | ) | [inline] |
void Sonar::poll | ( | void | ) | [virtual] |
Poll interface.
When this function is called periodically, it sends any previous result in a serial message, then starts polling the next sonar.
Implements ArduinoDevice.