31 #define MIN_PULSE_WIDTH 600
32 #define MAX_PULSE_WIDTH 2500
33 #define MAX_PERIOD 7968
120 int calcPulseTraveling (
int value);
125 mraa_pwm_context m_pwmServoContext;
mraa_result_t setAngle(int angle)
Definition: servo.cxx:65
void setMaxPeriod(int width)
Definition: servo.cxx:122
void setMinPulseWidth(int width)
Definition: servo.cxx:112
int getMaxPeriod()
Definition: servo.cxx:137
Base class for other servo components.
Definition: servo.h:44
void setMaxPulseWidth(int width)
Definition: servo.cxx:117
std::string name()
Definition: servo.h:78
int getMaxPulseWidth()
Definition: servo.cxx:132
int getMinPulseWidth()
Definition: servo.cxx:127
~Servo()
Definition: servo.cxx:50
Servo(int pin)
Definition: servo.cxx:34