Hi,
My code always throws "NRF_ERROR_INVALID_STATE" error and reset in nrf_drv_gpiote_in_init.
I tried many pins all of them are free and not used:
#define BUTTONS_NUMBER 4
/*#define BUTTON_START 25
#define BUTTON_1 9
#define BUTTON_2 25
#define BUTTON_3 26
#define BUTTON_4 13
#define BUTTON_STOP 26*/
#define BUTTON_START 17
#define BUTTON_1 17
#define BUTTON_2 18
#define BUTTON_3 19
#define BUTTON_4 20
#define BUTTON_STOP 20
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
#define BUTTONS_ACTIVE_STATE 0
#define BUTTONS_LIST { BUTTON_1, BUTTON_2, BUTTON_3, BUTTON_4 }
#define BSP_BUTTON_0 BUTTON_2
#define BSP_BUTTON_1 BUTTON_3
Any help would be much appreciated.
Thanks