59,6 → 59,7 |
#include "uart0.h" |
#include "uart1.h" |
#include "fat16.h" |
#include "sdc.h" |
#include "led.h" |
#include "menu.h" |
#include "printf_P.h" |
102,8 → 103,6 |
LEDGRN_ON; |
#endif |
|
|
|
#ifdef USE_SDLOGGER |
printf("\n\rHW: SD-Logger"); |
#endif |
114,17 → 113,6 |
printf("\n\r=============================="); |
printf("\n\r"); |
|
/* |
// try to initialize the SD-Card File system |
printf("\n\rInit FAT16..."); |
if(FAT16_Init()) |
{ |
printf("ok"); |
} |
else |
{ |
printf("failed"); |
}*/ |
|
#ifdef USE_FOLLOWME |
BeepTime = 2000; |
136,7 → 124,19 |
while (1) |
{ |
// check for button action |
if(GetButton()) BeepTime = 200; |
if(GetButton()) |
{ |
//BeepTime = 200; |
printf("\n\rInit FAT16..."); |
if(SDC_Init()) |
{ |
printf("ok"); |
} |
else |
{ |
printf("failed"); |
} |
} |
|
// restart ADConversion if ready |
if(ADReady) |