FIXME This file provides simply how-to use eb_ebb library. More...
Functions | |
void | init_servo (unsigned rx_isr_vect) |
Initialize servos. | |
void | set_servo (char servo, char position) |
Sets serv position. | |
Variables | |
volatile unsigned int | time_ms |
gobal time |
FIXME This file provides simply how-to use eb_ebb library.
This file provides simply how-to use eb_ebb library.
From main function is called init_perip function where is initialized servos, engines, power switch, CAN,ADC and serial port. After this initialization is shown how to control each devices. This sample also include simply sample of sending and receiving CAN message.
void init_servo | ( | unsigned | rx_isr_vect | ) |
Initialize servos.
void set_servo | ( | char | servo, | |
char | position | |||
) |
Sets serv position.
servo | define servo | |
position | new position for servo |
volatile unsigned int time_ms |
gobal time