Project

General

Profile

Revision 0970d303

ID0970d3031aa38bbbab3f63081bb62b00bca66693
Parent b2d280c7
Child 4bdd00ba

Added by Thomas Mullins about 11 years ago

Fixed AVR code for new message locations

Also finished and tested cliffsensors. They work.

View differences:

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