From 094ffecced6c23f6c3ea098e04847d75cf20a9e3 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Tue, 15 May 2018 11:49:46 +0200 Subject: [PATCH] settings for TTGOv2.1 adapted --- src/hal/ttgov21.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hal/ttgov21.h b/src/hal/ttgov21.h index b5e38c94..a7bcba40 100644 --- a/src/hal/ttgov21.h +++ b/src/hal/ttgov21.h @@ -5,7 +5,7 @@ #define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C #define DISPLAY_FLIP 1 // rotated display -#define HAS_LED 23 +#define HAS_LED 23 // green on board LED G3 D0 // disable brownout detection (needed on TTGOv2 for battery powered operation) #define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature @@ -18,9 +18,9 @@ // non arduino pin definitions #define RST LMIC_UNUSED_PIN // connected to ESP32 RST/EN -#define DIO0 26 // ESP32 GPIO26 wired on PCB to HPD13A -#define DIO1 32 -#define DIO2 33 +#define DIO0 26 // ESP32 GPIO26 <-> HPD13A IO0 +#define DIO1 33 // ESP32 GPIO33 <-> HPDIO1 <-> HPD13A IO1 +#define DIO2 32 // ESP32 GPIO32 <-> HPDIO2 <-> HPD13A IO2 // Hardware pin definitions for TTGO V2 Board with OLED SSD1306 0,96" I2C Display #define OLED_RST U8X8_PIN_NONE // connected to CPU RST/EN