This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to increment a count(i.e count should be keep on incrementing) untill button is released

hi all,

i am using sdk v8. i want to on rtc when button is pressed and i want to off the rtc when it is released. i am using bsp_handler only for button press.

PROBLEM when button is pressed rtc is getting on but immediately rtc is getting off. i dont want to set any particular delay. please help me. i am a beegineer to nrf51822.

-Thanks in advance

Parents Reply Children
Related