Archive for the “C/C++” category

Using pointers in Arduino (C/C++) to pass variables by reference

by adrianpark on November 1, 2010

I was writing some code for an Arduino sketch and bumped my head against the issue of how to pass a variable by reference. I’m blogging the solution for future reference (mine and others).