|
RSeries astromech firmware
|
|
Go to the documentation of this file. 1 #ifndef InterchangeArm_h
2 #define InterchangeArm_h
48 virtual void on() = NULL;
49 virtual void off() = NULL;
56 if (*cmd++ ==
'X' && *cmd++ ==
'C')
61 if (cmd[0] ==
'O' && cmd[1] ==
'N' && cmd[2] ==
'\0')
65 else if (cmd[0] ==
'O' && cmd[1] ==
'F' && cmd[2] ==
'F' && cmd[3] ==
'\0')
Base class for all command enabled devices. CommandEvent::handleCommand() is called for each device e...
Definition: CommandEvent.h:17
void disarm()
Disarm.
Definition: InterchangeArm.h:42
Base class for all animated devices. AnimatedEvent::animate() is called for each device once through ...
Definition: AnimatedEvent.h:18
void arm()
Arm.
Definition: InterchangeArm.h:34
InterchangeArm(byte idPin)
Definition: InterchangeArm.h:19
bool fArmed
Definition: InterchangeArm.h:73
bool isArmed()
Definition: InterchangeArm.h:26
Base class for Zapper, Gripper, and Welder.
Definition: InterchangeArm.h:15
virtual void handleCommand(const char *cmd) override
Interchangable Arm Commands start with 'XC'.
Definition: InterchangeArm.h:54