Browse Source

Allow hardware to redefine pulsemeter debounce

refactor-terminal
Jack Wilsdon 6 years ago
parent
commit
2e17c88804
No known key found for this signature in database GPG Key ID: D657C01A7BC820AE
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      code/espurna/config/sensors.h

+ 2
- 0
code/espurna/config/sensors.h View File

@ -618,7 +618,9 @@
#define PULSEMETER_INTERRUPT_ON FALLING #define PULSEMETER_INTERRUPT_ON FALLING
#endif #endif
#ifndef PULSEMETER_DEBOUNCE
#define PULSEMETER_DEBOUNCE 50 // Do not register pulses within less than 50 millis #define PULSEMETER_DEBOUNCE 50 // Do not register pulses within less than 50 millis
#endif
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// PZEM004T based power monitor // PZEM004T based power monitor


Loading…
Cancel
Save