2 #ifndef __accessoryMotorOneWay_H__ 3 #define __accessoryMotorOneWay_H__ 6 #include "AccessoryMotor.hpp" 44 inline void MoveRight(
unsigned long inDuration = 0,
int inSpeed = 0) {
MoveLeft(inDuration, inSpeed); }
51 inline ACC_STATE
MoveToggle(
unsigned long inDuration = 0,
int inSpeed = 0) {
MoveLeft(inDuration, inSpeed);
return LEFT; }
53 #ifdef ACCESSORIES_PRINT_ACCESSORIES 58 void printAccessory();
ACC_STATE MoveToggle(unsigned long inDuration = 0, int inSpeed = 0)
virtual void MoveLeft(unsigned long inDuration = 0, int inSpeed = 0)
void MoveRight(unsigned long inDuration = 0, int inSpeed = 0)