IntervalTimerEx subclasses the Teensy IntervalTimer to allow for a variety of callable objects as timer callbacks.
Extends the standard Teensy IntervalTimer to accept more or less anything which can be called as callback. E.g. free functions, static member functions, lambda expressions and functors. IntervalTimerEx uses the underlying Teensyduino mechanisms and bookkeeping and can be mixed with the standard IntervalTimer.