Represents a digital output device.
More...
#include <DigitalOutput.h>
Represents a digital output device.
static unsigned int rec::robotino::api2::DigitalOutput::numDigitalOutputs |
( |
| ) |
|
|
static |
- Returns
- Returns the number of digital outputs
- Exceptions
-
void rec::robotino::api2::DigitalOutput::setComId |
( |
const ComId & |
id | ) |
|
Sets the associated communication object.
- Parameters
-
id | The id of the associated communication object. |
- Exceptions
-
void rec::robotino::api2::DigitalOutput::setOutputNumber |
( |
unsigned int |
n | ) |
|
Sets the number of this digital output device.
- Parameters
-
n | The output number. Range [0; Robotstate::numDigitalOutputs-1] |
- Exceptions
-
void rec::robotino::api2::DigitalOutput::setValue |
( |
bool |
on | ) |
|
Sets the current value of the specified output device.
- Parameters
-
on | The output value of this device. |
- Exceptions
-
- See also
- setOutputNumber(), ComObject::setComId
The documentation for this class was generated from the following file: