0

I want to trigger an action on button press whatever I'm doing in the program. This button press have to change a global value necessary to do some different action based on this value. In the while loop I'm reading from RFID module if a valid card are detected. When I press the button without reading a card, the program runs well, but when I detect a card, the button doesn't trigger my callback function.

Here's the code: http://pastebin.com/cvtehZyZ

Floyd Crimson
  • 13
  • 1
  • 4

0 Answers0