Revision 1275
added command to read all bom
trunk/code/projects/diagnostic_station/station/comm_robot.h | ||
---|---|---|
17 | 17 |
bool robot_read_encoders (int16_t *left, int16_t *right); |
18 | 18 |
bool robot_read_bom (uint8_t num, uint16_t *value); |
19 | 19 |
bool robot_read_rangefinder (uint8_t num, uint16_t *value); |
20 |
bool robot_read_bom_all (uint8_t num, uint16_t *value); |
|
20 | 21 |
|
21 | 22 |
#define motor_direction_off 0 |
22 | 23 |
#define motor_direction_forward 1 |
Also available in: Unified diff