Servo Library  v0.8
Servo motor control library for educational and hobby applications
servo.h
Go to the documentation of this file.
1 
27 #ifndef SERVO_H
28 #define SERVO_H
29 
30 #if defined(__cplusplus)
31 extern "C" {
32 #endif
33 
34 #include "simpletools.h"
35 
58 int servo_angle(int pin, int degreeTenths);
59 
82 int servo_speed(int pin, int speed);
83 
119 int servo_set(int pin, int time);
120 
139 int servo_setramp(int pin, int stepSize);
140 
151 int servo_get(int pin);
152 
156 void servo_stop(void);
157 
168 int servo_start(void);
169 
170 #if defined(__cplusplus)
171 }
172 #endif
173 /* __cplusplus */
174 #endif
175 
176 /* SERVO_H */
177