From 01f933a0611a5b5d50eb99533bc14e123fc33109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sun, 14 Jan 2018 21:35:10 +0100 Subject: [PATCH] Change default I2C GPIOs for Wemos D1 Relay Shield (#420) --- code/espurna/config/hardware.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index a42abc66..f19a3426 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -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