diff --git a/defines.h b/defines.h index 072674d..7982f2c 100644 --- a/defines.h +++ b/defines.h @@ -8,8 +8,7 @@ #ifndef DEFINES_H_ #define DEFINES_H_ -// #define DEBUG -// #define SLEEP +//#define DEBUG #define EEPROM_ADDR 0 diff --git a/productionMode.cpp b/productionMode.cpp index c81ad06..29bf415 100644 --- a/productionMode.cpp +++ b/productionMode.cpp @@ -156,7 +156,9 @@ void loopProduction() { static tPressedState state = NOT_PRESSED; if (capNum > configBlock.threshold) { #ifdef DEBUG - Serial.println(capNum); + char payload[128]; + snprintf(payload, 127, "%ld %ld %ld %ld", senseCnt, baseline, chargeCntAvg, capNum); + Serial.println(payload); #endif switch (state) {