Tools

rambo said

rambo  

"fun" with C++ pointers in Arduino.

2 comments

rambo posted to #programming 31.05.2011 (en)

2 comments

Bottom

Ile  

example code or it isn't fun

Ile commented on posted to #programming 31.05.2011 (en)

rambo  

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)

Login or register to leave a comment

Publicity
These messages are public and can be seen by anyone.