adafruit / Adafruit_nRF52_Arduino

Adafruit code for the Nordic nRF52 BLE SoC on Arduino
Other
601 stars 488 forks source link

No interrupt from D2? #726

Closed ajs123 closed 2 years ago

ajs123 commented 2 years ago

PR 261 fixed issue 259 which involved inability to attach interrupts to Port 1 pins.

However, 259 also included inability to attach an interrupt to pin D2 which is on Port 0. Was the problem with D2 ever fixed? I am not seeing an interrupt response with attachInterrupt(2, ). I do get a response on D5, which is on Port 1 and was affected by 261.

I'm working with an unmodified Feather nrf52840 Express. Per the documentation, D2, which is shared with NFC2, should be set up as a GPIO pin.

Thanks!

hathach commented 2 years ago

I don't quite understand your question, can you provide the code along with comment on expected vs actual behavior to elaborate this issue.

PS: If you think this is an bug, please open a new issue using bug template instead of feature template

ajs123 commented 2 years ago

Thanks. Yes - I'll post as a bug report.