#include "asuro.h"
int main(void){
unsigned int data[2]; //Speicher bereitstellen
Init();
FrontLED(ON); //Beleuchtung an
MotorDir(FWD,FWD); //Beide Motoren Vorwärts
while(1){ //Endlosschleife,Asuro ollbeliebig
//lang einer Linie nachfahren
LineData(data); //aktuelle Helligkeitswerte der
//Fototransistoren auslesen
if(data[0]>data[1]) //links heller als rechts...
{MotorSpeed(200,150);} //...dann links mehr Gas geben!...
else
{MotorSpeed(150,200);} //...sonst rechts mehr Gas geben!
}
return 0;
}


Ok das hab ich bei der Test.c eingegebnen

dann hab ich auf ´make gemacht dann kamm das


C:\ASURO_src\FirstTry>make all
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > test.d; \
[ -s test.d ] || rm -f test.d
-------- 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.

Size before:
test.elf :
section size addr
.text 1512 0
.data 0 8388704
.bss 1 8388704
.noinit 0 8388705
.eeprom 0 8454144
.stab 3120 0
.stabstr 1698 0
Total 6331


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
avr-gcc -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.o test.o asuro.o --output test.elf -Wl,-Map=test.map,--cref -lm
avr-objcopy -O ihex -R .eeprom test.elf test.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \
--change-section-lma .eeprom=0 -O ihex test.elf test.eep
avr-objdump -h -S test.elf > test.lss
Size after:
test.elf :
section size addr
.text 1554 0
.data 0 8388704
.bss 1 8388704
.noinit 0 8388705
.eeprom 0 8454144
.stab 3216 0
.stabstr 1763 0
Total 6534


Errors: none
-------- end --------

> Process Exit Code: 0

Dann hab ich auf save as Desktop aber das ist keine hex. datei sondren da steht dateitypatei