-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
On the web I have found one smart tip, so suggest modifying sparkStructures.h with this:
#define DEBUG_ON // Comment this line out for a production build
#ifdef DEBUG_ON
#define DEBUG(...) Serial.println(__VA_ARGS__)
#else
#define DEBUG(...)
#endif
it can accept any number of args, like DEBUG(0x0170, HEX) , so there will be no more need to use print(). And globally (un-)defined DEBUG_ON could switch the entire project to clean production build.
Metadata
Metadata
Assignees
Labels
No labels