callmebob:
So thank you! But isn't there a much simpler solution?
If you ignore the class definition (it needn’t change at all) the rest of the code is a breeze and very usable.
I have a library version that will abstract away all of the class Mumbo-Jumbo if you want.
I wrote that class for a project I did a while back and where I wanted a non-blocking extension to the servo class, much like you want.