I like the idea of being able to attach a callback to INTO and INT1 using attachInterrupt(), so I don't have to poll.
Is it possible to setup an interrupt callback when Serial data is available?
Polling Serial.available() doesn't seem to be advantageous, if I can do the same using an interrupt & callback.
Would someone point me to an example of how to do this?
thanks