Hi,

I have to check if a button is pressed for N seconds.

I set up a timer that i start on the click button event and I check the button status on the timer timeout.

The program is frezzed, i suppose in the right way, till i release the button. The timeout event is cached only when the button is released.

Any suggestion?