Society of Robots - Robot Forum
Software => Software => Topic started by: harisankarsa on November 20, 2007, 10:52:59 AM
-
Due to financial reasons, my group has decided to use gear or stepper motors for constructing our robots.Can anyone pls post or email me source code in C for using them alongwith Atmega8.It would be better if you have commented it....
Pls send me the codes at [email protected].
-
Just use AVRlib
http://hubbard.engr.scu.edu/avr/avrlib/docs/html/install.html
And then use the PWM functions in timer.h:
http://hubbard.engr.scu.edu/avr/avrlib/docs/html/group__timer.html
or use google to find your PWM source code (http://www.google.com/search?hl=en&safe=off&rls=DGUS%2CDGUS%3A2006-11%2CDGUS%3Aen&q=atmega8+pwm+motor+code)