Society of Robots - Robot Forum
Software => Software => Topic started 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!!
-
opps
-
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.
-
that was my bad...
this post is 3 yrs old!
-
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 :)