Society of Robots - Robot Forum

Software => Software => Topic started by: cppdungeon on May 06, 2007, 09:36:55 PM

Title: programming guide??
Post by: cppdungeon on May 06, 2007, 09:36:55 PM
Hey Guys!  Im totally new to this forum, and im wondering where you would learn functions, or anything else needed to program an atmega8.  I have some C++/C backround, but and i understood the photovore code when i read it (due to the exelent comments).  however, if there is some tutorial or documentation that i could read about, i would feel a lot more comfortable programing.  Thanks for helping in advance.  SoR is awesome!!
Title: Re: programming guide??
Post by: dellagd on March 05, 2009, 03:36:12 PM
opps
Title: Re: programming guide??
Post by: sprince09 on March 05, 2009, 08:07:59 PM
The thing that helped me out the most when I was first starting to program AVR's was to just download the datasheet for whatever AVR I was working with and read the sections relevant to what I was trying to do. For example, if you wanted to do PWM on an atmega8, go to atmel.com and download the data sheet for it (google-ing "atmega8 datasheet" should get you there), and look up PWM. The AVR datasheets are usually very complete and concise, and will also usually give you some code examples to help you start out with.

Another thing you should try is to go to the forums at www.avrfreaks.net (http://) and read all of their tutorials (or at least the ones relevant to what you want to do). That's a great site for general information on AVR's if you ever need it.
Title: Re: programming guide??
Post by: dellagd on March 05, 2009, 08:11:16 PM
that was my bad...
this post is 3 yrs old!
Title: Re: programming guide??
Post by: RiffRaff on March 08, 2009, 10:19:22 PM
that was my bad...
this post is 3 yrs old!

THAT's why it's been read a thousand times.... I was like, wow, must me some good stuff in there :)