next C syntax
up How to Program the AVR with avr-gcc and AVRLib
previous How to Program the AVR with avr-gcc and AVRLib


Anatomy of a C program for AVR

The following presents a rough overview and breakdown of a demo program from the avrlib-demos. The code is in demo2 "button.c". Details of C syntax and AVR-specific commands will follow.


next C syntax
up How to Program the AVR with avr-gcc and AVRLib
previous How to Program the AVR with avr-gcc and AVRLib

Copyright © 2004-07-05
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University