From: Dave Hylands <dhylands@gm...> - 2008-04-02 06:01:38
> I'm trying to figure out how to program my Robostix with atmega 2651 chip on
> it. I need a simple program to try out that will prove that I can turn on
> and off the LEDs.
I have a super simple flasher, originally written for an ATMega168.
Click on Projects, avr, simple-flasher
I tested it on my robostix with the atmega128 and it works fine. It
should work on the atmega2561.
I was able to compile it for the atmega2561 using the following command line:
avr-gcc -Os -mmcu=atmega2561 -o simple-flasher.elf simple-flasher.c
avr-objcopy -j .text -j .data -O ihex simple-flasher.elf simple-flasher.hex
Vancouver, BC, Canada
Get latest updates about Open Source Projects, Conferences and News.