upm
0.1.8
Sensor/Actuator repository for libmraa (v0.4.5)
|
C++ API for ES08A servo component. More...
Public Member Functions | |
ES08A (int pin) | |
~ES08A () | |
Public Member Functions inherited from Servo | |
Servo (int pin) | |
~Servo () | |
mraa_result_t | setAngle (int angle) |
std::string | name () |
void | setMinPulseWidth (int width) |
void | setMaxPulseWidth (int width) |
void | setMaxPeriod (int width) |
int | getMinPulseWidth () |
int | getMaxPulseWidth () |
int | getMaxPeriod () |
Additional Inherited Members | |
Protected Member Functions inherited from Servo | |
int | calcPulseTraveling (int value) |
Protected Attributes inherited from Servo | |
std::string | m_name |
int | m_servoPin |
float | m_maxAngle |
mraa_pwm_context | m_pwmServoContext |
int | m_currAngle |
int | m_minPulseWidth |
int | m_maxPulseWidth |
int | m_maxPeriod |