Revision 0970d303
Fixed AVR code for new message locations
Also finished and tested cliffsensors. They work.
scout_avr/src/bom.h | ||
---|---|---|
5 | 5 |
#include <stdint.h> |
6 | 6 |
} |
7 | 7 |
|
8 |
#include <bom/bom.h>
|
|
8 |
#include <messages/bom.h>
|
|
9 | 9 |
|
10 | 10 |
// constants for direction |
11 |
#define BOM_FRONT (bom::bom::FRONT)
|
|
12 |
#define BOM_BACK (bom::bom::BACK)
|
|
13 |
#define BOM_LEFT (bom::bom::LEFT)
|
|
14 |
#define BOM_RIGHT (bom::bom::RIGHT)
|
|
11 |
#define BOM_FRONT (messages::bom::FRONT)
|
|
12 |
#define BOM_BACK (messages::bom::BACK)
|
|
13 |
#define BOM_LEFT (messages::bom::LEFT)
|
|
14 |
#define BOM_RIGHT (messages::bom::RIGHT)
|
|
15 | 15 |
|
16 | 16 |
// timing, in us, for read of valid bits |
17 | 17 |
#define MIN_LOW_PW 600 |
Also available in: Unified diff