Files
smart-domofon/src/debug.ino
Nikolay Vasilchuk b9ff70f506 It works
2018-09-27 18:17:10 +03:00

13 lines
280 B
C++

#include "inc/include.h"
void DEBUG_LN(const char *text) {
Serial.println(text);
webSocket().printfAll("%s\n", text);
}
template<typename... Args>
void DEBUG_F(const char *format, Args... args) {
Serial.printf(format, args...);
webSocket().printfAll(format, args...);
}