Browse Source

Recover configurations

i18n
Xose Pérez 6 years ago
parent
commit
516fc40f53
2 changed files with 3 additions and 6 deletions
  1. +2
    -5
      code/espurna/config/hardware.h
  2. +1
    -1
      code/espurna/config/sensors.h

+ 2
- 5
code/espurna/config/hardware.h View File

@ -23,6 +23,7 @@
// -----------------------------------------------------------------------------
// Development boards
// -----------------------------------------------------------------------------
#if defined(NODEMCU_LOLIN)
// Info
@ -35,12 +36,8 @@
#define BUTTON1_RELAY 1
// Relays
#define RELAY1_PIN 5
#define RELAY1_PIN 12
#define RELAY1_TYPE RELAY_TYPE_NORMAL
#define RELAY2_PIN 4
#define RELAY2_TYPE RELAY_TYPE_NORMAL
#define RELAY3_PIN 12
#define RELAY3_TYPE RELAY_TYPE_NORMAL
// LEDs
#define LED1_PIN 2


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

@ -2,7 +2,7 @@
// SENSORS - General data
// =============================================================================
#define SENSOR_DEBUG 1 // Debug sensors
#define SENSOR_DEBUG 0 // Debug sensors
#define SENSOR_READ_INTERVAL 6 // Read data from sensors every 6 seconds
#define SENSOR_READ_MIN_INTERVAL 6 // Minimum read interval


Loading…
Cancel
Save