Controlling servo


#1

I used and example code that would have been used on the Arduino Mega 2560 to control a servo. When I put it in, the servo barely moved for half a second then it did not move at all. I attached my servo to A9 since on the code it showed it to be port 9. Can someone help me with this please. Thank you


#2

Hi marcusnicolas,

The analog pin A9 on MegaPi should be corresponding to Pin 63 when you program.
You may change the servopin to 63 on the arduino program.


#3