libwallaby  v23
The wallaby standard library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
servo.h File Reference

Go to the source code of this file.

Functions

void enable_servo (int port)
 Enable a specific servo. More...
 
void disable_servo (int port)
 Disable a specific servo. More...
 
void enable_servos ()
 Enable all four servo channels. More...
 
void disable_servos ()
 Disable all four servo channels. More...
 
void set_servo_enabled (int port, int enabled)
 Enable or disable a specific servo. More...
 
int get_servo_enabled (int port)
 Check if a servo is enabled. More...
 
int get_servo_position (int port)
 Get the most recent commanded servo position. More...
 
void set_servo_position (int port, int position)
 Set a new servo goal position. More...
 

Detailed Description