RC2019 – Servo-motor example

Explanation: The code adjust the servo-motors position, to sweep from 0 to 179 and back to 0 again, with 2 second delay. It is important to include a delay, in order to provide the servo-motor with the necessary time to reach the position, before being given another command.