Revision 1303
Added read_eeprom to test suite and robot code so we can read the robot ID and BOM type from eeprom
comm_robot.h | ||
---|---|---|
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 | 20 |
bool robot_read_bom_all (int16_t *value); |
21 |
bool robot_read_eeprom(uint8_t *id, uint8_t *bom_type); |
|
21 | 22 |
|
22 | 23 |
#define motor_direction_off 0 |
23 | 24 |
#define motor_direction_forward 1 |
Also available in: Unified diff