This commit is contained in:
e2002
2022-08-17 14:11:17 +03:00
parent 442d970fd9
commit 8fa32f1587
19 changed files with 3348 additions and 2611 deletions

View File

@@ -5,6 +5,18 @@
#include "player.h"
Config config;
void DBGVB(const char *format, ...) {
#ifdef DEBUG_V
char buf[200];
va_list args;
va_start (args, format );
vsnprintf(buf, 200, format, args);
Serial.print("[DEBUG] ");
Serial.print(buf);
Serial.println();
#endif
}
void Config::init() {
EEPROM.begin(EEPROM_SIZE);
#if IR_PIN!=255