Browse Source

Change default I2C GPIOs for Wemos D1 Relay Shield (#420)

i18n
Xose Pérez 6 years ago
parent
commit
01f933a061
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      code/espurna/config/hardware.h

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

@ -64,6 +64,11 @@
#define LED1_PIN 2
#define LED1_PIN_INVERSE 1
// When Wemos relay shield is connected GPIO5 (D1) is used for relay,
// so I2C must be remapped to other pins
#define I2C_SDA_PIN 12 // D6
#define I2C_SCL_PIN 14 // D5
#elif defined(WEMOS_D1_TARPUNA_SHIELD)
// Info


Loading…
Cancel
Save