SharonWatkins
-
Posts
1 -
Joined
-
Last visited
Reputation Activity
-
SharonWatkins reacted to MrNams in How to easily turn on/off all debug message on Arduino IDE
But even if we disable debug, it will call print method and do not print anything.
I mean we should make it something like
#ifdef DEBUG Serial.print("\n debug controlled print"); #endif Here when we disable macro, its like code is not written for compiler, code will be removed in macro processing itself.