Resolved! First call of timer expires immediately
Hi,I am trying to check if a button is pressed for 3s continuously using a timer which is started through an interrupt. The code for the same is attached below. The issue I am facing is the interrupt is immediately called when I press the button afte...