Go Down

Topic: Delegate system for member function pointers (Read 4 times) previous topic - next topic

fat16lib

Thanks for pointing out this article!  This clears up some mysteries for me.

I have been experimenting with C++ templates for Arduino libraries and believe better C++/object support is the future of embedded programming.

Many people think these methods are not viable for the 8-bit AVR, maybe they are right, but playing with new techniques is fun.

GreyGnome

Very useful indeed.  Thanks for posting.

kDodman

Great solution, a day of trying to figure this pointer crap out, and got it done in no time with this, once I figured out that you have to update his modified SimpleTimer.h to Arduino 1.0 by changing the <Wprogram.h> include to <Arduino.h>

Go Up