#include <AnalogInput.h>
Public Member Functions | |
| void | setInputNumber (unsigned int n) |
| float | value () const |
Static Public Member Functions | |
| static unsigned int | numAnalogInputs () |
| static unsigned int rec::robotino::com::AnalogInput::numAnalogInputs | ( | ) | [static] |
| void rec::robotino::com::AnalogInput::setInputNumber | ( | unsigned int | n | ) |
Sets the number of this analog input device.
| n | The input number. Range [0; Robotstate::numAnalogInputs] |
| RobotinoException | if the given input number is out of range. |
| float rec::robotino::com::AnalogInput::value | ( | ) | const |
Returns the current value of the specified input device.
| Exception | if the underlying communication object is invalid |
1.5.5