Hello,
I am using NINA-B406 Custom board which have nRF52833 SOC and using Segger embedded studio with nRF5 SDK v17.0.2 for development.
I want to do the two functions with single push button as Short press and Long Press. When user do Short press of the button, system will do one task and if user do long press of the button, then system will do second task.
I am using usbd_ble_uart_freertos example and getting short press functionality but also need to add long press functionality in freertos only.
Kindly suggest how I can do this. Is there any example for button press in freertos?
Thank you.