Ne das klappt auch nicht, ist das gleiche Problem wie vorher! 
Wobei am Anfang zuckt er kurz nach vorne und dann fährt er automatisch mit dem Linken Motor rückwärts ohne das ich einen taster betätigt habe.
Und mir ist auf gefallen das er eine Fehlermeldung noch Anzeigt, die scheinbar aber nicht so wichtig scheint da man das Programm trotzdem falshen kann! Hier ist die Meldung:
Code:
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:28:12: warning: no newline at end of file
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" \
Lesezeichen