18 #ifndef BEAGLEBONE_MOTOR_DJI_2212_H
19 #define BEAGLEBONE_MOTOR_DJI_2212_H
21 #include "../motors.h"
34 const long MAX_DUTY = 320000;
35 const long MIN_DUTY = 500000;
36 const long SPIN_SLOWSPEED = 700000;
37 const long SPIN_TAKEOFFSPEED = 250000;
38 const long DEFAULT_PERIOD = 1900000;
39 const long ACTIVATE_PERIOD = 1200000;
40 const int DEFAULT_SPEED_STEP = 50;
62 void setDuty(
long _duty );
69 void setPeriod(
long _period );
76 void setRun(
int _run );
83 void setPolarity(
int _polarity );
91 #endif //BEAGLEBONE_MOTOR_DJI_2212_H
pinBlocks
Definition: overlayBase.h:43
Definition: dji_2212.h:32
Definition: aeronautics.h:23
PWMPins
PinNum refers to a exposed PWM Pin on your BBB, this enum can be expanded to include more if required...
Definition: overlayBase.h:51
Definition: overlaySetupException.h:14