Public Member Functions
Voltmeter Class Reference

#include <voltmeter.h>

Inheritance diagram for Voltmeter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void poll (void)
 Voltmeter ()

Detailed Description

Interface for Arduino-attached battery voltage meter.

Definition at line 47 of file voltmeter.h.


Constructor & Destructor Documentation

Voltmeter::Voltmeter ( ) [inline]

Constructor: sets poll period to 1000 msecs (one Hz).

Definition at line 51 of file voltmeter.h.


Member Function Documentation

void Voltmeter::poll ( void  ) [virtual]

Poll interface.

When this function is called periodically, it reads the battery voltage, sending it in a serial message.

Implements ArduinoDevice.

Definition at line 56 of file voltmeter.cpp.


The documentation for this class was generated from the following files:


segbot_firmware
Author(s): Jose Bigio, Jack O'Quin, Tim Eckel (NewPing library)
autogenerated on Fri Aug 28 2015 13:02:53