Represents a relay.
More...
#include <Relay.h>
static unsigned int rec::robotino::api2::Relay::numRelays |
( |
| ) |
|
|
static |
- Returns
- Returns the number of relays
void rec::robotino::api2::Relay::setComId |
( |
const ComId & |
id | ) |
|
Sets the associated communication object.
- Parameters
-
id | The id of the associated communication object. |
- Exceptions
-
void rec::robotino::api2::Relay::setRelayNumber |
( |
unsigned int |
n | ) |
|
Sets the relay number.
- Parameters
-
n | The relay number. Range: [0; Robotstate::numRelays-1] |
- Exceptions
-
void rec::robotino::api2::Relay::setValue |
( |
bool |
on | ) |
|
Sets the relay to the given value.
- Parameters
-
on | The value the relay will be set to. |
- Exceptions
-
The documentation for this class was generated from the following file:
- C:/srcs/git/openrobotino/api2/lib/rec/robotino/api2/Relay.h