some more debug
This commit is contained in:
parent
1147656d47
commit
10f155caa3
@ -8,8 +8,7 @@
|
||||
#ifndef DEFINES_H_
|
||||
#define DEFINES_H_
|
||||
|
||||
// #define DEBUG
|
||||
// #define SLEEP
|
||||
//#define DEBUG
|
||||
|
||||
#define EEPROM_ADDR 0
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user