root / trunk / code / projects / diagnostic_station / station / comm_robot.h @ 1198
History | View | Annotate | Download (523 Bytes)
1 | 1159 | deffi | #ifndef _robot_comm_h
|
---|---|---|---|
2 | #define _robot_comm_h
|
||
3 | |||
4 | 1198 | deffi | void comm_robot_init (void); |
5 | |||
6 | |||
7 | 1159 | deffi | void robot_set_orbs (uint8_t red1, uint8_t green1, uint8_t blue1, uint8_t red2, uint8_t green2, uint8_t blue2);
|
8 | void robot_set_motors (uint8_t direction1, uint8_t speed1, uint8_t direction2, uint8_t speed2);
|
||
9 | 1182 | deffi | void robot_set_motors_off (void); |
10 | 1159 | deffi | void robot_set_bom (uint16_t bitmask);
|
11 | 1192 | emullini | char* robot_read_encoders (void); |
12 | void robot_station_receive(char type, int source, unsigned char* packet, int length); |
||
13 | 1159 | deffi | |
14 | |||
15 | |||
16 | |||
17 | |||
18 | |||
19 | |||
20 | |||
21 | |||
22 | |||
23 | |||
24 | |||
25 | |||
26 | #endif |