You can use my QuickStart servo tester just to make sure the servo is working correctly. Post #15 of the thread has a very basic servo demo.
Lots of servo problems end up being power supply problems. Servos draw a lot of current when they start to move and this can cause the microcontroller to reset.
Comments
Lots of servo problems end up being power supply problems. Servos draw a lot of current when they start to move and this can cause the microcontroller to reset.