ESP8266 WiFi Client
Loading...
Searching...
No Matches
debug.h
1#pragma once
2
3#include <Arduino.h>
4
5#ifdef DEBUG
6#define DEBUG_PRINT(x) Serial.print(x)
7#define DEBUG_PRINTLN(x) Serial.println(x)
8#define DEBUG_PRINTF(x, ...) Serial.printf(x, __VA_ARGS__)
9#else
10#define DEBUG_PRINT(x)
11#define DEBUG_PRINTLN(x)
12#define DEBUG_PRINTF(x, y)
13#endif
14
15void initDebugging();