#include <servo.hpp>
Public Types | |
typedef unsigned int | ticks_t |
Public Member Functions | |
Servo (int port) | |
void | setPosition (ticks_t position) |
ticks_t | position () const |
void | disable () |
void | enable () |
void | setEnabled (bool enabled) |
bool | isEnabled () const |
typedef unsigned int Servo::ticks_t |
Servo::Servo | ( | int | port | ) |
void Servo::disable | ( | ) |
void Servo::enable | ( | ) |
bool Servo::isEnabled | ( | ) | const |
ticks_t Servo::position | ( | ) | const |
void Servo::setEnabled | ( | bool | enabled | ) |
void Servo::setPosition | ( | ticks_t | position | ) |