Accessories
Arduino for motors and lights library.
AccessoryMotorTwoWays.hpp
1 //-------------------------------------------------------------------
2 #ifndef __accessoryMotorTwoWays_H__
3 #define __accessoryMotorTwoWays_H__
4 //-------------------------------------------------------------------
5 
6 #include "AccessoryMotor.hpp"
7 
8 #ifndef NO_MOTOR
9 #ifndef NO_MOTORTWOWAYS
10 
34 {
35  public:
38 
46  void beginTwoWays(Port *inpPort, unsigned long inIdRight, unsigned long inIdLeft, int inSpeed, unsigned long inDurationMilli = 0);
47 
53  ACC_STATE MoveToggle(unsigned long inDuration = 0, int inSpeed = 0);
54 
55 #ifdef ACCESSORIES_PRINT_ACCESSORIES
56  public:
60  void printAccessory();
61 #endif
62 };
63 #endif
64 
65 //-------------------------------------------------------------------
66 #endif
67 #endif
68 //-------------------------------------------------------------------
ACC_STATE MoveToggle(unsigned long inDuration = 0, int inSpeed = 0)
Definition: Port.hpp:61
void beginTwoWays(Port *inpPort, unsigned long inIdRight, unsigned long inIdLeft, int inSpeed, unsigned long inDurationMilli = 0)