Project 9

Objective: Use a digitalRead function to input a signal from a switch, and a analogWrite function to output a signal to a servo.

Project: When the user pushes a button, the servo turns to the position that corresponds to the analogWrite command outputting 200, and stays there as long as the user holds down on the button otherwise it move to the position that corresponds to the analogWrite command outputting 128.