ok. I am building a robotics project for my high school sophmore science fair, I have all the materials and have my arduino decemilia board and shield set up, the chassis is built and my servo is here. but...
I dont know c, the closest thing i know is c++, so most of the larger & more complex codes are compleatly lost on me.
how do I control a servo over pwm didgital channel 12 on theboard? simple commands like center, left 45, right 45 ect. ect.
code in C is helpful as long as it is simple, I will be incorperating it into my project so please leave details for sighting the code properly if possible,
There is a link here: http://blog.thestem.ca/archives/74
to a simple sketch that controls a typical hobby servo connected to a digital output using a potentiometer connected to an analog input. it may be a good place to start