Und wie fügt man das dann in das Programm ein?
wenn ich das in den ordner "First Try" einfüge kommte diese Fehlermeldung:
Code:
C:\ASURO_src\FirstTry>make all
avr-gcc.exe -mmcu=atmega8 -Wall -gdwarf-2 -Os -I./inc -MD -MP -MT globals.o -MF dep/globals.o.d -c globals.c
cc1.exe: warning: `dwarf-2': unknown or unsupported -g option
globals.c:115: error: parse error before "Ovr2IntFunc"
globals.c:115: warning: type defaults to `int' in declaration of `Ovr2IntFunc'
globals.c:115: warning: data definition has no type or storage class
globals.c:126: error: parse error before "AdcIntFunc"
globals.c:126: warning: type defaults to `int' in declaration of `AdcIntFunc'
globals.c:126: warning: data definition has no type or storage class
make: *** [globals.o] Error 1
> Process Exit Code: 2
der code ist:
PHP-Code:
#include "asuro.h"
int main(void)
{
Init();
MsSleep(1000);
}
return 0;
}
mfG
Lesezeichen