Liste der Anhänge anzeigen (Anzahl: 1)
Hallo
Ich möchte euch ja nicht unnötig verwirren, aber ich verwende doch die erweiterten Odo-Funktionen gar nicht. Bei mir gab es schon mit den alten Libraries seltsame Effekte. Ich verwende meist die Version mit Wastes IR-PWM-Erweiterung. Wenn ich mir z.B. die Linedaten senden lasse, kommt bei stehendem asuro immer wieder ein Wert, der völlig aus der Reihe tanzt. Vom Timeing her würde ich auf einen 16-Bit Überlauf tippen, ich habe das aber nie näher untersucht, sondern per Filter abgefangen. Mein Testprogramm für die Linedaten ist im Anhang, den Quellcode dafür kann ich blöderweise grad nicht finden (das wäre ja wichtig). Aber ihr könnt euch ja selbst einen kurzen Code dafür schreiben. Es werden endlos die Linedaten eingelesen und per IR zum PC geschickt. K6 (in Fahrtrichtung links) schaltet die LineLED an, K5 schaltet sie wieder aus. Hier mein Output:
Code:
0 0
0 0
0 0
0 0
0 0
457 493
446 487
446 486
445 485
445 484
444 485
444 484
444 484
443 484
443 484
443 484
443 483
443 483
443 483
443 483
442 483
442 482
442 482
442 482
442 482
442 482
442 482
442 482
442 482
441 482
440 482
441 482
441 482
441 481
441 481
441 482
441 482
441 481
441 481
441 481
441 481
441 481
441 481
441 481
440 481
441 481
441 481
441 481
440 481
440 481
440 481
440 481
440 481
440 480
440 481
440 481
440 481
440 481
440 481
440 481
440 480
440 480
440 480
440 480
440 480
440 480
440 480
438 480
441 480
440 480
440 480
440 480
440 480
439 480
439 480
440 480
440 480
440 480
440 480
440 480
Ähm, das ist mir jetzt echt peinlich, aber der Effekt tritt scheinbar nicht mehr auf. Bei 0-Werten ist die LineLED aus, die Werte sind so hoch, weil ich eine IR-LED aus einem alten Videorekorder eingebaut habe und der asuro auf einem weisen Blatt stand.
Eigentlich sollte ich diesen Beitrag ja löschen, aber jetzt habe ich soviel Zeit investiert, dann sollt ihr das auch sehen. In der Zeit hätte ich das auch mit der Odometrie machen können, dass werde ich noch nachreichen, für heute reichts mir mal mit rumrobotern.
Gruß
mic
Seite 2 Programm von Sternthaler
wenn ich die datein benutzen will fom sternthaler kommt beim kompeilerdiese fehlermeldung:
Code:
Asuro Flash (Alias Eierlegendewollmilchsau) V1.4.6.56 (c) O.O. Müller 2008
User has admin rights.
Processor branding AMD Athlon(tm) 64 X2 Dual Core Processor 4800+, OS WINXP
Hello Besitzer on HENRY, have fun :)
>Session Environment Variables:
AF_AVRDIR=D:\WinAVR
AF_PROJECT=Project1
AF_SOURCE_FILES=
AF_ASM_SRC_FILES=
AF_PRGDIR=D:\Programme\AsuroFlash
AF_PRJDIR=C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash
AF_ASURO_LIB_PATH=%AllUsersProfile%\asuro_lib\lib
>Ready.
File test.c saved.
>Session Environment Variables:
AF_AVRDIR=D:\WinAVR
AF_PROJECT=AsuroTest
AF_SOURCE_FILES=test.c asuro.c
AF_ASM_SRC_FILES=
AF_PRGDIR=D:\Programme\AsuroFlash
AF_PRJDIR=C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt
AF_ASURO_LIB_PATH=%AllUsersProfile%\asuro_lib\lib
File test.c saved.
File asuro.c saved.
File asuro.h saved.
>Default make_all.cmd file created.
>Default makefile created.
Make
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt>D:\WinAVR\utils\bin\make.exe all
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=asuro.lst -ID:\Programme\AsuroFlash\include asuro.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \
[ -s asuro.d ] || rm -f asuro.d
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 -ID:\Programme\AsuroFlash\include 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 (WinAVR 20100110) 4.3.3
Copyright (C) 2008 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 -ID:\Programme\AsuroFlash\include test.c -o test.o
test.c:35: warning: function declaration isn't a prototype
test.c: In function 'straightcalib':
test.c:36: warning: implicit declaration of function 'Encoder_Set'
test.c:41: warning: implicit declaration of function 'Msleep'
test.c:53: warning: implicit declaration of function 'PrintInt'
test.c: At top level:
test.c:75: warning: function declaration isn't a prototype
test.c: In function 'main':
test.c:168: warning: implicit declaration of function 'Encoder_Init'
avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=asuro.lst -ID:\Programme\AsuroFlash\include asuro.c -o asuro.o
avr-gcc -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.o -ID:\Programme\AsuroFlash\include test.o asuro.o --output AsuroTest.elf -Wl,-Map=AsuroTest.map,--cref -ID:\Programme\AsuroFlash\lib -lm
test.o: In function `go':
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:125: undefined reference to `Encoder_Set'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:129: undefined reference to `Msleep'
test.o: In function `turn':
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:109: undefined reference to `Encoder_Set'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:113: undefined reference to `Msleep'
test.o: In function `nikolaus':
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:142: undefined reference to `Msleep'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:142: undefined reference to `Msleep'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:144: undefined reference to `Msleep'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:145: undefined reference to `Msleep'
test.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:146: more undefined references to `Msleep' follow
test.o: In function `turncalib':
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:76: undefined reference to `Encoder_Set'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:82: undefined reference to `Msleep'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:95: undefined reference to `Msleep'
test.o: In function `straightcalib':
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:36: undefined reference to `Encoder_Set'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:41: undefined reference to `Msleep'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:44: undefined reference to `Msleep'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:48: undefined reference to `Msleep'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:61: undefined reference to `Msleep'
test.o: In function `main':
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:168: undefined reference to `Encoder_Init'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:177: undefined reference to `Msleep'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:183: undefined reference to `Msleep'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:189: undefined reference to `Msleep'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:193: undefined reference to `Msleep'
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:195: undefined reference to `Msleep'
make: *** [AsuroTest.elf] Error 1
ExitCode 2
>Ready.
File test.c saved.
>Session Environment Variables:
AF_AVRDIR=D:\WinAVR
AF_PROJECT=AsuroTest
AF_SOURCE_FILES=test.c asuro.c D:\Downloads\V10\test.c D:\Downloads\V10\asuro_st.c
AF_ASM_SRC_FILES=
AF_PRGDIR=D:\Programme\AsuroFlash
AF_PRJDIR=C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt
AF_ASURO_LIB_PATH=%AllUsersProfile%\asuro_lib\lib
>Default make_all.cmd file created.
>Default makefile created.
Make
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt>D:\WinAVR\utils\bin\make.exe all
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=D:\Downloads\V10\asuro_st.lst -ID:\Programme\AsuroFlash\include D:\Downloads\V10\asuro_st.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > D:\Downloads\V10\asuro_st.d; \
[ -s D:\Downloads\V10\asuro_st.d ] || rm -f D:\Downloads\V10\asuro_st.d
avr-gcc.exe: D:DownloadsV10asuro_st.c: No such file or directory
avr-gcc.exe: no input files
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=D:\Downloads\V10\test.lst -ID:\Programme\AsuroFlash\include D:\Downloads\V10\test.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > D:\Downloads\V10\test.d; \
[ -s D:\Downloads\V10\test.d ] || rm -f D:\Downloads\V10\test.d
avr-gcc.exe: D:DownloadsV10test.c: No such file or directory
avr-gcc.exe: no input files
-------- begin --------
avr-gcc --version
avr-gcc (WinAVR 20100110) 4.3.3
Copyright (C) 2008 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=D:\Downloads\V10\test.lst -ID:\Programme\AsuroFlash\include D:\Downloads\V10\test.c -o D:\Downloads\V10\test.o
In file included from D:\Downloads\V10\/asuro_st.h:30,
from D:\Downloads\V10\test.c:41:
d:/winavr/lib/gcc/../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."
D:\Downloads\V10\test.c: In function 'menue':
D:\Downloads\V10\test.c:293: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:294: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:295: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:296: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:297: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:298: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:299: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:300: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:325: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:326: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:327: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:328: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:329: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:330: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:352: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:353: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:383: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:384: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
D:\Downloads\V10\test.c:386: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=D:\Downloads\V10\asuro_st.lst -ID:\Programme\AsuroFlash\include D:\Downloads\V10\asuro_st.c -o D:\Downloads\V10\asuro_st.o
In file included from D:\Downloads\V10\/asuro_st.h:30,
from D:\Downloads\V10\asuro_st.c:27:
d:/winavr/lib/gcc/../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."
D:\Downloads\V10\asuro_st.c: In function 'PrintInt':
D:\Downloads\V10\asuro_st.c:975: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
avr-gcc -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.o -ID:\Programme\AsuroFlash\include test.o asuro.o D:\Downloads\V10\test.o D:\Downloads\V10\asuro_st.o --output AsuroTest.elf -Wl,-Map=AsuroTest.map,--cref -ID:\Programme\AsuroFlash\lib -lm
D:\Downloads\V10\test.o: In function `main':
D:\Downloads\V10/test.c:58: multiple definition of `main'
test.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:167: first defined here
D:\Downloads\V10\asuro_st.o: In function `__vector_2':
D:\Downloads\V10/asuro_st.c:163: multiple definition of `__vector_2'
asuro.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/asuro.c:37: first defined here
D:\Downloads\V10\asuro_st.o: In function `__vector_4':
D:\Downloads\V10/asuro_st.c:195: multiple definition of `__vector_4'
asuro.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/asuro.c:25: first defined here
D:\Downloads\V10\asuro_st.o: In function `__vector_14':
D:\Downloads\V10/asuro_st.c:476: multiple definition of `__vector_14'
asuro.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/asuro.c:46: first defined here
D:\Downloads\V10\asuro_st.o: In function `Init':
D:\Downloads\V10/asuro_st.c:621: multiple definition of `Init'
asuro.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/asuro.c:104: first defined here
D:\Downloads\V10\asuro_st.o: In function `BackLED':
D:\Downloads\V10/asuro_st.c:712: multiple definition of `BackLED'
asuro.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/asuro.c:210: first defined here
D:\Downloads\V10\asuro_st.o: In function `MotorSpeed':
D:\Downloads\V10/asuro_st.c:726: multiple definition of `MotorSpeed'
asuro.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/asuro.c:144: first defined here
D:\Downloads\V10\asuro_st.o: In function `SerWrite':
D:\Downloads\V10/asuro_st.c:767: multiple definition of `SerWrite'
asuro.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/asuro.c:283: first defined here
D:\Downloads\V10\asuro_st.o: In function `SerRead':
D:\Downloads\V10/asuro_st.c:839: multiple definition of `SerRead'
asuro.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/asuro.c:296: first defined here
D:\Downloads\V10\asuro_st.o: In function `LineData':
D:\Downloads\V10/asuro_st.c:881: multiple definition of `LineData'
asuro.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/asuro.c:238: first defined here
D:\Downloads\V10\asuro_st.o: In function `PollSwitch':
D:\Downloads\V10/asuro_st.c:909: multiple definition of `PollSwitch'
asuro.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/asuro.c:323: first defined here
D:\Downloads\V10\asuro_st.o: In function `Sleep':
D:\Downloads\V10/asuro_st.c:933: multiple definition of `Sleep'
asuro.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/asuro.c:366: first defined here
D:\Downloads\V10\asuro_st.o: In function `Gettime':
D:\Downloads\V10/asuro_st.c:961: multiple definition of `Gettime'
asuro.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/asuro.c:93: first defined here
D:\Downloads\V10\asuro_st.o: In function `PrintInt':
D:\Downloads\V10/asuro_st.c:971: multiple definition of `PrintInt'
asuro.o:C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/asuro.c:67: first defined here
d:/winavr/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe: AsuroTest.elf section .text will not fit in region text
d:/winavr/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe: region text overflowed by 1494 bytes
test.o: In function `turn':
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:113: undefined reference to `Encoder_Set'
test.o: In function `nikolaus':
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:147: undefined reference to `Encoder_Set'
test.o: In function `turncalib':
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:98: undefined reference to `Encoder_Set'
test.o: In function `straightcalib':
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:64: undefined reference to `Encoder_Set'
test.o: In function `main':
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\AsuroFlash\Projects\TestAsuroProjekt/test.c:194: undefined reference to `Encoder_Init'
make: *** [AsuroTest.elf] Error 1
ExitCode 2
>Ready.
Was Hat das zu bedeuten??
Bitte Um Hilfe.
mfg asuro_besitzer
Liste der Anhänge anzeigen (Anzahl: 1)
Hallo asuro_besitz,
ob du dich sofort, oder erst später meldest ist nicht wichtig.
Wichtig ist, dass der Asuro in Fahrt kommt ;-)
-- Dateien gelöscht
Das dürfte nicht so schlimm sein.
Die 'normale' asuro.c ist auf der CD. Also kein Beinbruch.
Alle anderen asuro.xxx-Dateien werden immer aus der asuro.c 'gemacht'. Sind also (für dich erstmal) nicht wichtig.
-- Erweiteret LIB
Die gibt es hier: https://www.roboternetz.de/phpBB2/viewtopic.php?t=30004
damaltor hat sich da die Mühe gemacht und viele wichtigen und nützliche Sachen zum Asuro zusammengestellt. (Auch die Eierle..sau ist da zu finden)
Ich vermute, dass du dir schon auf diesem Weg die LIB und eben auch die 'Eierlegendewollmilchsau' geholt hast. Die ist nämlich in der neuen Lib dabei. (Warum auch immer)
Ohne Umweg bekomst du die LIB von hier:
http://sourceforge.net/projects/asuro/
-- Compilerversion
Ich habe den gcc Version 4.1.2 aus dem WinAVR mit Version 20070525
Die neueste WinAVR-Version ist immer hier zu finden:
http://sourceforge.net/projects/winavr/files/
-- Dein Compiler läuft nicht?
Wie hast du das festgestellt? Denn wenn du die asuro.xxx-Dateien hattest, dann sind sie ja vom Compiler erzeugt worden.
-- Wie gehts weiter?
Vielleicht soltest du dir nochmal die beiden Programme (stochris und meins) holen.
Und hier etwas ganz wichtiges: In der Datei test.c von mir, MUSS die Zeile "#include <string.h>" bei einer neueren Compilerversion entfernt werden.
Das habe ich gerade bei mir festgestellt. Ich habe versucht das ganze auch nochmal bei mir zu übersetzen. Es ging auch bei mir nicht!
(Mist alte und neue Version vom Compiler oder was auch immer.)
Im Anhang ist nochmal die überarbeitet Version. Ich habe da auch das test.hex-File dazugelegt. Das kannst du zum testen ja erst einmal auf den Asuro flashen. (Sichern der Version nicht vergessen)
Viel Erfolg und am allerwichtigsten sind (leider) die Hausaufgaben ;-)
Gruß Sternthaler