void loop() {
while (digitalRead(buttonPin) == LOW); // do nothing until button is pressed
myservo.write(175);
while (1) ; // Do nothing forever after
}
void loop() {
while (digitalRead(buttonPin) == LOW); // do nothing until button is pressed
myservo.write(175);
while (1) ; // Do nothing forever after
}