Mach's so:
Code:#ifdef __AVR_ATmega8__ const unsigned char ucinfo[] PROGMEM = {"Im_Mega8\0"}; #elif __AVR_ATmega16__ const unsigned char ucinfo[] PROGMEM = {"Im_Mega16\0"}; // #elif // usw. #else #error No µC Definition found #endif
Mach's so:
Code:#ifdef __AVR_ATmega8__ const unsigned char ucinfo[] PROGMEM = {"Im_Mega8\0"}; #elif __AVR_ATmega16__ const unsigned char ucinfo[] PROGMEM = {"Im_Mega16\0"}; // #elif // usw. #else #error No µC Definition found #endif
Lesezeichen