AVR GCC development environment test software: delay based blinker

This software is mainly written for atmega8 but is easily modified
for any other avr 8 bit microcontroller.

See the following article for details:
http://tuxgraphics.org/electronics/200904/avr-c-programming.meta.shtml

Edit the Makefile and adjust it to the type of programmer that you are using.

Mac and Linux
To compile type the command:
make

To compile and load use:
make load

Windows
If you run Windows and you have winavr installed then check the winmake.bat
file. Edit it and adjust the path as needed. After that just double click
on the winmake.bat file to compile.

Files
ledtest.c        # the c source code for ATmega8
ledtest_pre.hex  # pre-compiled loadable object in case you have
                 # trouble to compile the software
Makefile              # Makefile 
README.htm            # this file
test-circuit-led.jpg           # schematic as jpg image


History: version 0.1: 2004-10-01, first Version version 0.2: 2004-12-30, corrected fault in delay_ms function version 0.3: 2005-10-04, new modular programming with the scripts prg_load_uc and prg_fusebit_uc for easy transition to the new avrusb500 programmer version 0.4: 2006-03-02, compiler independent delay loop. The old delay_ms would behave totally different with the new gcc-4 version. version 0.5: 2006-03-10, Fault in delay_ms corrected version 0.6: 2009-02-15, simpler Makefile version 0.7: 2009-04-05, Updated for new avr gcc article ------------------------------------------- Copyright: GPL Written by guido socher -------------------------------------------