Servo Library  v0.9
Servo motor control library for educational and hobby applications
servo.h
Go to the documentation of this file.
1 
33 #ifndef servo_H
34 #define servo_H
35 
36 #if defined(__cplusplus)
37 extern "C" {
38 #endif
39 
40 #include "simpletools.h"
41 
65 int servo_angle(int pin, int degreeTenths);
66 
90 int servo_speed(int pin, int speed);
91 
110 int servo_setramp(int pin, int stepSize);
111 
151 int servo_set(int pin, int time);
152 
163 int servo_get(int pin);
164 
168 void servo_stop(void);
169 
180 int servo_start(void);
181 
182 #if defined(__cplusplus)
183 }
184 #endif
185 /* __cplusplus */
186 #endif
187 
188 /* servo_H */
189