Closed aeon32 closed 3 years ago
Change the button behavior: now double-click toggle blinking.
For example:
No blinking + double click => start smooth blinking Smooth blinking + double click => freeze smooth blinking (save LED state)
To setup IRQ handler for GPIO use module GPIOTE. Useful functions:
nrfx_gpiote_init nrfx_gpiote_in_init nrfx_gpiote_in_event_enable
Change the button behavior: now double-click toggle blinking.
For example:
To setup IRQ handler for GPIO use module GPIOTE. Useful functions: