RGBLED  1.0.0
Easily control RGB LEDs.
RGBLED_debug.hpp
1 #pragma once
2 
3 #define RGBLED_debug false
4 
5 #if RGBLED_debug
6 #warning "RGBLED: Debugging messages are enabled."
7 #define RGBLED_DEBUG(...) Serial.print(__VA_ARGS__);
8 #define RGBLED_DEBUGLN(...) Serial.println(__VA_ARGS__);
9 #else
10 #define RGBLED_DEBUG(...)
11 #define RGBLED_DEBUGLN(...)
12 #endif