|
Hello World! - Your First AVR-GCC C ProgramThis is a very simple project designed only to familiarize oneself with the use of a Makefile, the compiler, linker, and FLASH download tool (such as AVRDUDE) when working with the MAVRIC / MAVRIC-II board. This program simply blinks the on-board LED on and off, once per second. It demonstrates setting up a periodic timer interrupt as a time keeping source, declaring and using an interrupt handler with AVR-GCC, and toggling a PORT output line on and off. Configuration:
Sample program is here. |