Activity › Forums › Questions & Troubleshooting › Hardware › Interrupt pins
-
The MEGA 2560 has got 2, 3, 18, 19, 20, 21 as interrupt pins.The Maxi Automation Pinout shows Pins 2 and 3 as digital out 0 and 1. Can I still use X1.12 and X1.13 as digital inputs as they are the only not occupied ones for starting an ISR? -
I am confused about the Maxi Automation PINOUT V1.1. In my understanding the Interrupts are belonging to the following pins of the Arduino MEGA Board(blue)
2 (Interrupt 0), 3 (Interrupt 1), 18 (Interrupt 5), 19 (Interrupt 4), 20 (Interrupt 3) und 21 (Interrupt 2)
In the PINOUT V1.1 you have
18 (Interrupt 0), 19 (Interrupt 1)
What is correct in case of the Maxi Automation?
-
Hello, following interrupts are accessible at the X1:
Arduino pin 2 (Arduino Int 0)
- Arduino pin 3 (Arduino Int 1)
- Arduino pin 20 (Arduino Int 3)
- Arduino pin 21 (Arduino Int 2)
These interrupts are accessible at the screw terminal:
Arduino pin 18 (Arduino Int 5) – CONTROLLINO INT0
- Arduino pin 19 (Arduino Int 4) – CONTROLLINO INT1
Best regards,
Lukas
Log in to reply.