Line 16... |
Line 16... |
16 |
#define BEEP_OFF() TCCR0B=0b000 |
16 |
#define BEEP_OFF() TCCR0B=0b000 |
17 |
#define GPS_ON() PORTB|=0x02 |
17 |
#define GPS_ON() PORTB|=0x02 |
18 |
#define GPS_OFF() PORTB&=0xFD |
18 |
#define GPS_OFF() PORTB&=0xFD |
19 |
#define DELAY(dly) for(Timer=dly;Timer;) |
19 |
#define DELAY(dly) for(Timer=dly;Timer;) |
20 |
|
20 |
|
21 |
#define GPS_BAUDRATE 9600 // Enable USRAT0 in N81,9600bps |
21 |
#define GPS_BAUDRATE 4800 // Enable USRAT0 in N81,9600bps |
22 |
|
22 |
|
23 |
#define VTH_LOW (WORD)(8000UL*100/3838) |
23 |
#define VTH_LOW (WORD)(8000UL*100/3838) |
24 |
#define VTH_HIGH (WORD)(11500UL*100/3838) |
24 |
#define VTH_HIGH (WORD)(11500UL*100/3838) |
25 |
#define POWER_check 0b01000000 | 1 |
25 |
#define POWER_check 0b01000000 | 1 |
26 |
#define ANALOG_IN1 0b01000000 | 2 |
26 |
#define ANALOG_IN1 0b01000000 | 2 |