Skip to main content

Reply to "Arduino Question - block detection"

John,

You got me curious as you were touting the glories of interrupts :-)

I found this reference table about which digital pins can drive interrupts.  Looks like the Mega has only 6 interrupt enabled pins:

BoardDigital Pins Usable For Interrupts
Uno, Nano, Mini, other 328-based2, 3
Mega, Mega2560, MegaADK2, 3, 18, 19, 20, 21
Micro, Leonardo, other 32u4-based0, 1, 2, 3, 7
Zeroall digital pins, except 4
MKR1000 Rev.10, 1, 4, 5, 6, 7, 8, 9, A1, A2
Dueall digital pins
101all digital pins

OGR Publishing, Inc., 1310 Eastside Centre Ct, Suite 6, Mountain Home, AR 72653
800-980-OGRR (6477)
www.ogaugerr.com

×
×
×
×
×