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

Long press button issue with nrf52840

I am having issues with implementing long-press button action along with normal button press on the same button using the nrf52_sdk_thread on nrf52840.

When I implement it in the BSP example code and run it on the nrf52840 DK, it works fine. but when I use it with OpenThread, only one button action works.

I think it is because of the thread sleep function in the code.

can anyone help me with the Long press plus the short press button action on the same button to be used along with thread stack.

Related