libwallaby  v24
The wallaby standard library
Servo Class Reference

#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
 

Member Typedef Documentation

typedef unsigned int Servo::ticks_t

Constructor & Destructor Documentation

Servo::Servo ( int  port)

Member Function Documentation

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)

The documentation for this class was generated from the following file: