FastLED 3.9.15
Loading...
Searching...
No Matches
dprint.h
Go to the documentation of this file.
1
2#pragma once
3
4#include "fl/unused.h"
5
6
7extern bool is_debugging;
8//#define ENABLE_DPRINT
9#ifdef ENABLE_DPRINT
10 #define dprint(x) if (is_debugging) { Serial.print(x); }
11 #define dprintln(x) if (is_debugging) { Serial.println(x); }
12#else
13 #define dprint(x) FL_UNUSED(x)
14 #define dprintln(x) FL_UNUSED(x)
15#endif
bool is_debugging
Definition dprint.cpp:5