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

[button_push_sequence]

Hi Nordic,

I want to know, how the button_push_sequence works on case of handling different events at different button_push sequence like... (--nrf51-ble-app-lbs--)

  1. Immediate push----> handle event 1; release -----> handle event 2
  2. long push for 3 sec ----> handle event 3; release ----> handle event 4
  3. long push for 5 sec -----> handle event 5; release ----> handle event 6
  4. double push -------> handle event 7.......etc:..............................

Please share any example code to make it understandable.

Thanks n Regards.

Related