Servo programming

NOT1:
hey thanks the code that you posted does the opposite that i want in relation to button

I did explain that I had changed the button action, and how to wire your switch to take account of that.

...R