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

button long-press & short press implement on nRF52

I am very new begginer and dont know where to start about nordic nrf52832 chip. Started a week ago with downloading SDK and playing with examples in it.

I in specific need some guidance to operate the long press and short press on same button and thereby make different functions in response to long or short press of button. Do you have any examples or guidlines for this?

In detail, i Want to make long press of button to perform one task, and short press of button to perform other task. I just want to get to know how the buttons are coded for detecting and performing the task. i Saw many posts in this website but couldnot find any coding example.

Related