Project

General

Profile

Statistics
| Branch: | Revision:

scoutece / paintboard / code / servo.h @ d9b50611

History | View | Annotate | Download (220 Bytes)

1 1226c007 AnsonLinux
#ifndef _SERVO_H_
2
#define _SERVO_H_
3
4
void servo_init();
5 d9b50611 Tom Mullins
void servo_pulse(); // should be called ~every 20ms
6 1226c007 AnsonLinux
void set_servo1(int8_t angle);
7
void set_servo2(int8_t angle);
8
int8_t get_servo1();
9
int8_t get_servo2();
10
11
#endif