Mexahoid / ESTC-project

Repository for main ESTC 2021 project
0 stars 0 forks source link

Implement double click #13

Closed Mexahoid closed 3 years ago

Mexahoid commented 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