@@ -379,17 +379,17 @@ void Wippersnapper_AnalogIO::update() {
379
379
// TODO: after testing combine these two conditionals to just send the event and not debug print.
380
380
if (_analog_input_pins[i].prvPeriod == 0L ) {
381
381
// first time reading pin, no previous timestamp so send event + update prvPeriod
382
- WS_DEBUG_PRINT (" First time reading pin A" );
383
- WS_DEBUG_PRINTLN (_analog_input_pins[i].pinName );
382
+ // WS_DEBUG_PRINT("First time reading pin A");
383
+ // WS_DEBUG_PRINTLN(_analog_input_pins[i].pinName);
384
384
}
385
385
else if (timerExpired (millis (), _analog_input_pins[i], 500 )) {
386
386
// timer expired, send event + update prvPeriod
387
- WS_DEBUG_PRINT (" Timer passed for pin A" );
388
- WS_DEBUG_PRINTLN (_analog_input_pins[i].pinName );
387
+ // WS_DEBUG_PRINT("Timer passed for pin A");
388
+ // WS_DEBUG_PRINTLN(_analog_input_pins[i].pinName);
389
389
}
390
390
else {
391
391
// last event was too recently, skip this one...
392
- WS_DEBUG_PRINTLN (" Timer has not expired, continue..." );
392
+ // WS_DEBUG_PRINTLN("Timer has not expired, continue...");
393
393
continue ;
394
394
}
395
395
@@ -436,7 +436,7 @@ void Wippersnapper_AnalogIO::update() {
436
436
_analog_input_pins[i].prvPeriod = millis ();
437
437
438
438
} else {
439
- WS_DEBUG_PRINTLN (" ADC has not changed enough, continue..." );
439
+ // WS_DEBUG_PRINTLN("ADC has not changed enough, continue...");
440
440
continue ;
441
441
}
442
442
// set the pin value in the digital pin object for comparison on next
0 commit comments