Hi There,
HW: PCA10056
SW: nRF5_SDK_15.2.0_9412b96
Test source code: ble_app_blinky
How can I create single Button with multiple condition based on the period of the button press?
Here is the conditions:
1) press button and release without hold - do condition 1
2) press button and hold for 5 sec and release - do condition 2
3) press button and hold for 10 sec - do condition 3
Using timer for handle the different condition wasn't the best choice for me as it will have de-bouncing issue, where I can release the button halfway and press it back.
Thanks!