Hallo ,

nach Euren Antworten habe ich jetzt geschrieben:



#include "asuro.h"

int main(void){

Init();

MotorDir(FWD,FWD);

MotorSpeed(100,100);

while(1);

}


und dann kommt diese Fehlermedung:



C:\ASURO_src\FirstTry>make all
-------- begin --------
avr-gcc --version
avr-gcc (GCC) 3.3.1
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c -o test.o
test.c: In function `main':
test.c:4: error: parse error before ';' token
make: *** [test.o] Error 1

> Process Exit Code: 2


Da stimmt doch irgendwas grundsätzlich nicht, oder?
Ist vielleicht der Compiler defekt?

Ich freue mich auf Eure Antworten!

Euer Herbert