Hi, could anyone please help me as I currently using nrf51822-arduino-library in a nrf51822 chip and I couldn't call the interrupt function : wakeUp(). Current I'm connect the external interrupt pin to nrf51822 pin : P0_1 or arduino pin : A0 after pin transform in the nrf51822-arduino-library. Maybe i know what value should i put for the variable "pin" for the function below :
attachInterrupt(pin, wakeUp, CHANGE);
so that when there is an interrupt change, it will call wakeUp() function? Please reply asap. Thanks!