-
Posts
2 -
Joined
-
Last visited
-
Days Won
1
Reputation Activity
-
MrNams got a reaction from SharonWatkins 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.
-
MrNams got a reaction from BreanneJJustice 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.