#include <wrapper.h>
Inheritance diagram for CButton:
Public Types | |
enum | BUTTON_STATES { BUTTON_PRESSED, BUTTON_NOT_PRESSED } |
Button states. More... | |
Public Member Functions | |
CButton () | |
byte | isPressed () |
Returns button state. | |
void | readFromRobot () |
Reads current state from robot. | |
Private Attributes | |
byte | pressed |
CButton::CButton | ( | ) |
byte CButton::isPressed | ( | ) |
void CButton::readFromRobot | ( | ) |
Reads current state from robot.
byte CButton::pressed [private] |