I am splitting my code up into tab (so seperate .cpp and .h files) to keep things organised, then using #includes to bring it all together.
I’m aware of the need to “#include <WProgram.h>” because I’m using “analogRead()”, however I am getting the following compiler error on a different object. I’m assuming it’s a similar problem that I need to include a random header because it’s not in a .pde file, and LOW is a standard declaration.
Does anyone know the solution?
In file included from pointers.cpp:4:
/REALTIME.h: In constructor ‘CTime::CTime()’:
REALTIME.h:7: error: ‘LOW’ was not declared in this scope
pointers.pde is the main file
realtime.h and .cpp are an included object that has the following line in it:
To all those helping, many thanks. I have Googled this but found nothing, nor anything in the forums.