Warning: C++ noob.
I've been stumbling around my C++ program for my maple board for the past few weeks, and have it generally doing what I want/need.
My program is contained in a single file, and I decided to try to break this thing apart into separate files to get many of the "tried and true" and "core functions" out of the way.
I read in the docs that the sketches use the same global namespace, and that they are essentially sewn together with a single #include Wiring.h statement...
... but when I take a single function like:
void foo()
{digitalWrite(0,LOW);}
I get a compile error:
"LOW UNDECLARED: (first use in this function)"
I've tried blindly including Wiring.h (which creates it's own compiling disaster)...
... can anyone steer me in the right direction?
Jay