hi
i have a tiny robot that i want to move it's legs by servo motor then it can walk
i wrote one code for it that it can move servo's shaft but when i run this code to my ATmega16,at first no matter which initial degree i give, my servo rotate to last possible degree that can move.it cause broken in my servo's gear.
i want after running my code ,servo dosen't have any rotation till i push my keys.
i put my codes blew if u help me i'll be appreciate it.
http://www.4shared.com/rar/UQoeO35K/servo.html
i'm not good in english plz forgive me for all my mistakes
i really need it my final project depend on this plz help me a.s.a.p
i have a tiny robot that i want to move it's legs by servo motor then it can walk
i wrote one code for it that it can move servo's shaft but when i run this code to my ATmega16,at first no matter which initial degree i give, my servo rotate to last possible degree that can move.it cause broken in my servo's gear.
i want after running my code ,servo dosen't have any rotation till i push my keys.
i put my codes blew if u help me i'll be appreciate it.
http://www.4shared.com/rar/UQoeO35K/servo.html
i'm not good in english plz forgive me for all my mistakes
i really need it my final project depend on this plz help me a.s.a.p