#include “asuro.h”
int main(void) {
unsigned int data[2];
Init();
FrontLED(ON);
MotorDir(FWD,FWD);
while(1){
LineData(data);
if (data [0] > data [1] )
{MotorSpeed(200,150);}
else
{MotorSpeed(150,200);}
}
return 0;
}




Hab ich so aus der asuro anleitung genommen
Das kommt dabei :


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:1:10: #include expects "FILENAME" or <FILENAME>
test.c: In function `main':
test.c:4: warning: implicit declaration of function `Init'
test.c:5: warning: implicit declaration of function `FrontLED'
test.c:5: error: `ON' undeclared (first use in this function)
test.c:5: error: (Each undeclared identifier is reported only once
test.c:5: error: for each function it appears in.)
test.c:6: warning: implicit declaration of function `MotorDir'
test.c:6: error: `FWD' undeclared (first use in this function)
test.c:8: warning: implicit declaration of function `LineData'
test.c:10: warning: implicit declaration of function `MotorSpeed'
test.c:15:19: warning: no newline at end of file
make: *** [test.o] Error 1

> Process Exit Code: 2




Was ist damit los?