Activity Forums Questions & Troubleshooting Software & Firmware Enabling PIN change interrupts

  • Enabling PIN change interrupts

  • localhost

    January 28, 2019 at 2:28 pm


    You mention on your “examples/tutorials” page that “On the other hand the pin change interrupts can be enabled on many more pins.” (c.f.

    Is there any tutorial on how to do that ? I have a Controllino MAXI. I am not able to use pins other than D0, D1, INT0, INT1, SDA and SCL as interrupt pins.

    Any help will be welcome.

    Thank you.

  • mr-controllino

    January 28, 2019 at 3:57 pm


    If you look for the ATmega2560 pinout you can see there are a lot of PCINTxx pins. All of them are able to be used as Pin Change Interrupt (PCINT).

    You only have to look for “Pin Change Interrupt Arduino MEGA”. there are a lot of examples how to do that depending on your needs.

    There are also ready to use libraries to do that.



Viewing 1 - 2 of 2 replies

Log in to reply.

Original Post
0 of 0 posts June 2018