We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01fbfe5 commit adcd678Copy full SHA for adcd678
hardware/arduino/variants/mega/pins_arduino.h
@@ -83,6 +83,8 @@ static const uint8_t A15 = 69;
83
( (((p) >= 62) && ((p) <= 69)) ? ((p) - 62) : \
84
0 ) ) ) ) ) )
85
86
+#define digitalPinToInterrupt(p) ((p) == 2 ? 0 : ((p) == 3 ? 1 : ((p) >= 18 && (p) <= 21 ? 23 - (p) : NOT_AN_INTERRUPT)))
87
+
88
#ifdef ARDUINO_MAIN
89
90
const uint16_t PROGMEM port_to_mode_PGM[] = {
0 commit comments