#include <wrapper.h>
Inheritance diagram for CLed:
Public Types | |
enum | LED_STATES { LED_OFF, LED_ON } |
Led states. More... | |
Public Member Functions | |
CLed () | |
byte | isOn () |
Indicates if Led is active. | |
void | set (byte on) |
Sets Led state. | |
void | readFromRobot () |
Reads Led state from robot. | |
void | writeToRobot () |
Writes Led state to robot. | |
Private Attributes | |
byte | on |
enum CLed::LED_STATES |
CLed::CLed | ( | ) |
byte CLed::isOn | ( | ) |
void CLed::set | ( | byte | on | ) |
void CLed::readFromRobot | ( | ) |
Reads Led state from robot.
void CLed::writeToRobot | ( | ) |
Writes Led state to robot.