Hi I am trying to use program servo. I am newbie. I have connected brown wire from servo to GND on arduino, red wire on servo to 5V on arduino and yellow vire to pin n. 8. I use the MG90S servo. The servo spin around or when I change value for example to 90 it just dont spin. Please help me.
Consider for a moment the above statement. Why did the servo stop spinning? It went to 90 and stayed. All the code is telling the servo to go to is 90.
Have you ran servo sweep, located in your examples?
Double check servo wires are the correct colour for the function.
I do model aircraft flying and sometime you get servos that have different function colours.
So double check for make/model of your servo. Also servos can pull lot of current and cause voltage spikes that can upset the program so big cap say 10,000uf across the gnd to vcc may help