|
final project
1
|
communication between bot and computer More...
#include "main.h"Go to the source code of this file.
Macros | |
| #define | period 20 |
| #define | clockwise 319488 |
| #define | cclockwise 292096 |
| #define | TIMER4B_PRESCALER 50 |
Functions | |
| void | timer_init () |
| initializes the timer for the servo More... | |
| void | clock_timer_init (void) |
| intializes the clock timer More... | |
| void | servo_init () |
| initializes the servo motor More... | |
| void | match_set (int match) |
| sets match value More... | |
| void | servo_setAngle (double degrees) |
| sets the servo angle More... | |
Variables | |
| volatile int | overflow |
| volatile int | rise_time |
| volatile int | fall_time |
| volatile int | j |
| volatile float | servo_angle |
| void clock_timer_init | ( | void | ) |
| void match_set | ( | int | match | ) |
| void servo_init | ( | ) |
| void servo_setAngle | ( | double | degrees | ) |