if (digitalRead(buttonPin1)== LOW);
Yeah, that will work great. Of course, it'd be even better without the ; on the end...
if (digitalRead(buttonPin1)== LOW);
Yeah, that will work great. Of course, it'd be even better without the ; on the end...