Functions | Variables

servo.h File Reference

FIXME This file provides simply how-to use eb_ebb library. More...

This graph shows which files directly or indirectly include this file:

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

Detailed Description

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.


Function Documentation

void init_servo ( unsigned  rx_isr_vect  ) 

Initialize servos.

Note:
All three servos - should be fixed FIXME
void set_servo ( char  servo,
char  position 
)

Sets serv position.

Returns:
0
Note:
VPB = APB - name conflict FIXME
Parameters:
servo define servo
position new position for servo

Here is the caller graph for this function:


Variable Documentation

volatile unsigned int time_ms

gobal time

Note:
incremented twenty 20ms, overrun every 1194hours