The value of buttonValue is never changed in loop() so will always be zero. Did you mean to read the state of the input pin using digitalRead()
The value of buttonValue is never changed in loop() so will always be zero. Did you mean to read the state of the input pin using digitalRead()