Revision 31f4a032 scout_avr/src/bom.h

View differences:

scout_avr/src/bom.h
12 12
#define BOM_RIGHT 3
13 13

  
14 14
// timing, in us, for read of valid bits
15
#define MIN_LOW_PW 800
16
#define MAX_LOW_PW 1200
17
#define MIN_HIGH_PW 1800
18
#define MAX_HIGH_PW 2200
15
#define MIN_LOW_PW 600
16
#define MAX_LOW_PW 1400
17
#define MIN_HIGH_PW 1600
18
#define MAX_HIGH_PW 2400
19 19

  
20 20
// returned by bom_get if there is no new data since last call
21 21
#define BOM_NO_DATA -1
22 22

  
23 23
// i/o pins
24 24
// if these are changed, remember to change bom_init and/or ISRs
25
#define BOM_SIG PORTB
25
#define BOM_SIG PINB
26 26
#define BOM_SIG0 PB0
27 27
#define BOM_SIG1 PB1
28 28
#define BOM_SIG2 PB2

Also available in: Unified diff