Step 1) Wire up your servo like the picture.
*The dark wire goes to GND, the red wire goes to 5V and the last wire to pin 9. (Note, the last wire could be several different colors) You put servo's orange cord in any pin, just make sure you change that pin number in myservo.attach(#), where # is what you plugged in. In the example picture, it is plugged into 9. |