first commit
This commit is contained in:
commit
5893b00dd2
1669 changed files with 1982740 additions and 0 deletions
13
libraries/FastLED/examples/LuminescentGrand/shared/dprint.h
Normal file
13
libraries/FastLED/examples/LuminescentGrand/shared/dprint.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
|
||||
extern bool is_debugging;
|
||||
//#define ENABLE_DPRINT
|
||||
#ifdef ENABLE_DPRINT
|
||||
#define dprint(x) if (is_debugging) { Serial.print(x); }
|
||||
#define dprintln(x) if (is_debugging) { Serial.println(x); }
|
||||
#else
|
||||
#define dprint(x)
|
||||
#define dprintln(x)
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue