18-05-2016, 22:08
(18-05-2016, 15:07)daveh Wrote: The solution I found was to change a line in the main ino file from
#if Local_TestMode == 1
to
#if DebugID2
which causes the variables to get defined. I couldn't find any other references to Local_TestMode.
Hi Daveh
You are right! That change should be done for DebugID2 to work.
Thanks.
I haven't touched the debug routines since long time, maybe there are some other caveats. On next software release I will revise them at least to be sure that when enabled, they don't cause any error when compiling.
Quote:I also had problems compiling because printDebugID2() has statements uncommented to print to an lcd. I simply had to comment those out and uncomment the Serial.print statements.
Leaving the lines that print to the LCD uncommented don't cause any compile error unless you don't have the correct LCD library installed.

