From 3754950a0eb6c4a320877e60491c017c6bb9d5f7 Mon Sep 17 00:00:00 2001 From: BeardyWalrus Date: Thu, 9 Apr 2020 20:44:15 -0400 Subject: [PATCH] pinouts are swapped for TTGO-Lora32 V1 and V2 boards. discovered by eriktheV-king in discourse --- src/configuration.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/configuration.h b/src/configuration.h index a8128882..86bdd231 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -166,8 +166,8 @@ along with this program. If not, see . // This string must exactly match the case used in release file names or the android updater won't work #define HW_VENDOR "ttgo-lora32-v1" -#define I2C_SDA 21 // I2C pins for this board -#define I2C_SCL 22 +#define I2C_SDA 4 // I2C pins for this board +#define I2C_SCL 15 #define RESET_OLED 16 // If defined, this pin will be used to reset the display controller @@ -183,8 +183,8 @@ along with this program. If not, see . // This string must exactly match the case used in release file names or the android updater won't work #define HW_VENDOR "ttgo-lora32-v2" -#define I2C_SDA 4 // I2C pins for this board -#define I2C_SCL 15 +#define I2C_SDA 21 // I2C pins for this board +#define I2C_SCL 22 #define RESET_OLED 16 // If defined, this pin will be used to reset the display controller