/FollowMe/main.c |
---|
75,12 → 75,20 |
// initalize modules |
LED_Init(); |
LEDRED_ON; |
TIMER0_Init(); |
USART0_Init(); |
USART1_Init(); |
// enable interrupts global |
sei(); |
LEDRED_OFF; |
#ifdef USE_FOLLOWME |
LEDGRN_ON; |
#endif |
#ifdef USE_SDLOGGER |
printf("\n\rHW: SD-Logger"); |
#endif |
91,7 → 99,7 |
printf("\n\r=============================="); |
printf("\n\r"); |
/* |
// try to initialize the SD-Card File system |
printf("\n\rInit FAT16..."); |
if(FAT16_Init()) |
101,8 → 109,12 |
else |
{ |
printf("failed"); |
} |
}*/ |
#ifdef USE_FOLLOWME |
BeepTime = 2000; |
#endif |
LCD_Clear(); |
while (1) |