/Designs/GPSnavigator/SW/GPS/GPS.h
104,8 → 104,11
#define REF_INIT REF_DDR |= _BV(REF)
 
#define ADC_ON ADCSRA |= _BV(ADEN)
#define ADC_OFF ADCSRA &= ~(_BV(ADEN))
#define ADC_OFF ADCSRA &= ~(_BV(ADEN))
 
#define USART_PC_ON UCSR1B = _BV(RXCIE1) | _BV(RXEN1) | _BV(TXEN1)
#define USART_PC_OFF UCSR1B = 0
 
#define KEY1 0
#define KEY2 1
#define KEY3 2