"fun" with C++ pointers in Arduino.
rambo posted to #programming 31.05.2011 (en)
Bottom
example code or it isn't fun
Ile commented on posted to #programming 31.05.2011 (en)
First PinChangeInt library adapted to pass user data pointer, took a while to remind myself about all these funky pointer casts (and pointers to pointers etc, almost as fun as Javas FactoryFactoryFactory -pattern...)Then something that needed the user data http://github.com/rambo/qp_motor_test... (line 32 is the pointer-cast-deference)
rambo commented on posted to #programming 31.05.2011 (en)