Arduino Mega 2560 and Interrupts on 53,15,14,10

Hello,
I need to use an optical encoder with 2 output with an Arduino 2560, but I can use as inputs only PIN 53, 15,14, 10. I need only two pin for my encoder.

No one of these PIN are directly interrupts, so my sensor reading are very bad.

If for testing only I use pin 2 and 3, or 20 and 21, my sensor reading are perfect.

I've already done a very complex PCB, so I can use only PIN 53, 15,14 and 10.

Can I configure two of these pins as interrupts?

I'm already using a modified boot loader, so if this are the way, I've no problem to upload a new boot loader, but I need some help :slight_smile:

Thanks in advance
Giorgio

Read Google Code Archive - Long-term storage for Google Code Project Hosting.
It seems like it is not verified to work on the mega..

I tested in arduino mega 2560 and it works!
However, take care if you need to ise Software Serial library because then you could have problems and library modifications could be required.

I can't compile this PinChangeInt library on Arduino IDE 1.05.
Many errors :frowning: