kentavv
  • Member for 2 years
  • Last seen more than 1 year ago
  • confluencerd.com
  • Iowa, USA
Displaying when Button has been pressed for LED and returning 1
0 votes

Your problem may only be that you are not calling the button function. Try changing if (button >=0) to if (button() >=0).

View answer