while (digitalRead(buttonPin) != HIGH)__
;
skumlerud: good bug-spotting, but a style recommendation - put empty semicolons on the next line (like mikalhart) for better visibility.
while (digitalRead(buttonPin) != HIGH)__
;
skumlerud: good bug-spotting, but a style recommendation - put empty semicolons on the next line (like mikalhart) for better visibility.