/**************************************************************************** * * CMPE-118 basic servo driving for Lab 3 * * History * When Who What/Why * -------------- --- -------- * 1/30/09 jbb simplified for lab exercise * * Original BotLib created by Scott Early as part of CMPE-118 in Winter 2008 */ #ifndef SERVO_H #define SERVO_H #include /* derivative information */ #define uchar unsigned char /**************************************************************************** * General Functions */ void Bot_Init(void); // call before any other library functions /**************************************************************************** * R/C Servo Control * * Actual positional accuracy is about ±5 degrees */ void RCServo_Set(char position); // position: a value in degrees from -60 to +60 #endif