Hi,
I want to count the time in seconds for which I press the button and stop the counter when the button is released. How should I detect the long press of button and determine the time for which it was pressed ? I have a nrf 51 development board. Any suggestions would be appreciated.