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