AVR GCC development environment test software: blinking LED using atmega8 timer2
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: 2009-04-12, first Version
-------------------------------------------
Copyright: GPL
Written by guido socher
-------------------------------------------