Radical alternative: the ESP8266 supports interrupts on all pins (like the external interrupts of AVR chips; the ESP doesn't have these generic "pin change" interrupts).
Up to you to decide whether it makes sense to switch to that processor.
Radical alternative: the ESP8266 supports interrupts on all pins (like the external interrupts of AVR chips; the ESP doesn't have these generic "pin change" interrupts).
Up to you to decide whether it makes sense to switch to that processor.