Thread: AVR Help
View Single Post
  #3   Spotlight this post!  
Unread 06-01-2006, 14:58
Tom Saxton's Avatar
Tom Saxton Tom Saxton is offline
Registered User
no team (Issaquah Robotics Society)
Team Role: Mentor
 
Join Date: Dec 2003
Rookie Year: 2003
Location: Sammamish, WA
Posts: 98
Tom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud of
Re: AVR Help

Which AVR chip are you using? Do you have a bare chip, or is it on some sort of robot controller board? Which programmer do you have?

If you're using the ATMega16 or ATMega32, you may find the docs and sample code for the SRS Workshop Robot useful:

http://seattlerobotics.org/WorkshopRobot/index.php

You'll have to modify the source code to adjust which pins/registers are used for which function (unless you're using Larry Barello's ARC board) but the code starts out with very basic stuff which should be enough to get started and customize.

If you're using another AVR chip, the basic idea is the same, but the names of the registers used for input and output may change significantly.
__________________
Tom Saxton
http://www.idleloop.com/