Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 275 → Rev 276

/FollowMe/main.c
64,6 → 64,7
#include "printf_P.h"
#include "analog.h"
#include "ubx.h"
#include "button.h"
 
#ifdef USE_FOLLOWME
int16_t UBat = 120;
93,6 → 94,7
UBX_Init();
USART1_Init();
ADC_Init();
Button_Init();
// enable interrupts global
sei();
LEDRED_OFF;
133,6 → 135,9
GPS_Timer = SetDelay(1000);
while (1)
{
// check for button action
if(GetButton()) BeepTime = 200;
 
// restart ADConversion if ready
if(ADReady)
{