I have 4 button and the app_button use gpiote module, button works OK. But nrf51822 only has 4 gpiote, so what should I do if I want to use pin interrupt for g_sensor?
I have 4 button and the app_button use gpiote module, button works OK. But nrf51822 only has 4 gpiote, so what should I do if I want to use pin interrupt for g_sensor?
Hello,
Do you intend to use the g_sensor as a wakeup source? In that case, you may disable the other interrupts before going to sleep, and enable them again on wakeup (after disabling the g_sensor interrupt).
BR,
Edvin