Browse Source

Fix SEL pin definition in ESPurna board

fastled
Xose Pérez 7 years ago
parent
commit
e7a8c70353
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      code/espurna/config/sensors.h

+ 6
- 1
code/espurna/config/sensors.h View File

@ -96,9 +96,14 @@
// Enabled by default when selecting SONOFF_POW hardware // Enabled by default when selecting SONOFF_POW hardware
//-------------------------------------------------------------------------------- //--------------------------------------------------------------------------------
#define POW_SEL_PIN 5
#ifdef ESPURNA_H
#define POW_SEL_PIN 2
#else
#define POW_SEL_PIN 5
#endif
#define POW_CF1_PIN 13 #define POW_CF1_PIN 13
#define POW_CF_PIN 14 #define POW_CF_PIN 14
#define POW_USE_INTERRUPTS 1 #define POW_USE_INTERRUPTS 1
#define POW_SEL_CURRENT HIGH #define POW_SEL_CURRENT HIGH
#define POW_CURRENT_R 0.001 #define POW_CURRENT_R 0.001


Loading…
Cancel
Save