Sample Programs
Sample Programs
There are sample programs available from http://www.seattlerobotics.org/WorkshopRobot/Level1/ (or the
Workshop CD’s “Samples” folder). There are versions for BASCOM (BASIC) and C. The program files contain
descriptive comments to explain what the code is doing.
The programming concepts are explained in the slides in the “ATmega16 Programming” section. The “Program
Descriptions” section below describes the programs that are listed at the end of each section of slides. The
extensions are suggestions for modifications you can make to the code to experiment and learn. The challenges are
optional, harder modifications.
Please see the “AVR Robot Controller 1.1 Software Tools” section for instructions on installing and using the
software to program the microcontroller.
Please see the “AVR Robot Controller 1.1 Hardware Description” section for details on the I/O pins used by the
SRS Robot.
Creating New Programs
For some of the challenges, you may wish to create a new program instead of modifying one of the sample
programs.
11-3-2005 27