#include <Relay.h>
Public Member Functions | |
| void | setRelayNumber (unsigned int n) |
| void | setValue (bool on) |
Static Public Member Functions | |
| static unsigned int | numRelays () |
| static unsigned int rec::robotino::com::Relay::numRelays | ( | ) | [static] |
| void rec::robotino::com::Relay::setRelayNumber | ( | unsigned int | n | ) |
Sets the relay number.
| n | The relay number. Range: [0; Robotstate::numRelays] |
| RobotinoException | if relay number is invalid. |
| void rec::robotino::com::Relay::setValue | ( | bool | on | ) |
Sets the relay to the given value.
| on | The value the relay will be set to. |
| RobotinoException | if the underlying communication object is invalid |
1.5.5