User Tools

Site Tools


debugmode

This is an old revision of the document!


Disabling all Serial.print altogether using define debug trick:

#define DEBUG 0

#if DEBUG == 1
#define debug(x) Serial.print(x)
#define debugln(x) Serial.println(x)
#else
#define debug(x) 
#define debugln(x)
#endif
debugmode.1731511718.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki