Sample code to control a servo motor 360 degrees. For use this library, you must connect a servo motor 360 degreesto your Arduino Board.

Connect the servomotor to an Arduino Uno. The black wire to the GND pin, the red to the 5V pin and the other to the pin 9.