Hello, I am using external interrupt from an ADXL345 . Can you tell me how to detect that external interrupt with the nRF51 ?
Hello, I am using external interrupt from an ADXL345 . Can you tell me how to detect that external interrupt with the nRF51 ?
i have updated my code here.
You also have to change NRF_GPIO_PIN_NOPULL to NRF_GPIO_PIN_PULLUP.
thanks.but still its not working
Add nrf_gpio_cfg_output(LED_1);
to your main and replace LEDS_ON(LED_1)
with nrf_gpio_pin_toggle(LED_1);
now my LED become 'ON' without pressing any button