Interrupt pins

Post Reply
marcel00
Posts: 9
Joined: Tue Jul 02, 2019 5:03 pm

Interrupt pins

Post by marcel00 » Thu Nov 07, 2019 2:13 pm

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?

marcel00
Posts: 9
Joined: Tue Jul 02, 2019 5:03 pm

Re: Interrupt pins

Post by marcel00 » Thu Nov 07, 2019 3:41 pm

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?

User avatar
Lukas
Posts: 51
Joined: Tue Dec 18, 2018 3:44 pm

Re: Interrupt pins

Post by Lukas » Mon Mar 09, 2020 1:07 pm

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

Post Reply