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 
13 {
14  public:
17 
25  void beginTwoWays(Port *inpPort, unsigned long inIdRight, unsigned long inIdLeft, int inSpeed, unsigned long inDurationMilli = 0);
26 
32  ACC_STATE MoveToggle(unsigned long inDuration = 0, int inSpeed = 0);
33 
34 #ifdef ACCESSORIES_PRINT_ACCESSORIES
35  public:
39  void printAccessory();
40 #endif
41 };
42 #endif
43 
44 //-------------------------------------------------------------------
45 #endif
46 #endif
47 //-------------------------------------------------------------------
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)