From d73ef3c2fe9e4c85abcec869683f4ad14790a59a Mon Sep 17 00:00:00 2001 From: ssysm Date: Thu, 31 Mar 2022 23:25:37 -0400 Subject: [PATCH] Change GPS Pin on Heltec v2.1 --- variants/heltec_v2.1/variant.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/variants/heltec_v2.1/variant.h b/variants/heltec_v2.1/variant.h index 2c0f4e165..f361e0f46 100644 --- a/variants/heltec_v2.1/variant.h +++ b/variants/heltec_v2.1/variant.h @@ -1,9 +1,12 @@ -// the default ESP32 Pin of 15 is the Oled SCL, set to 36 and 37 and works fine. +// Pin planning should refer to this document +// https://resource.heltec.cn/download/WiFi_LoRa_32/WIFI_LoRa_32_V2.pdf + +// the default ESP32 Pin of 15 is the Oled SCL, 37 is battery pin. // Tested on Neo6m module. #undef GPS_RX_PIN #undef GPS_TX_PIN -#define GPS_RX_PIN 36 -#define GPS_TX_PIN 37 +#define GPS_RX_PIN 32 +#define GPS_TX_PIN 33 #ifndef USE_JTAG // gpio15 is TDO for JTAG, so no I2C on this board while doing jtag #define I2C_SDA 4 // I2C pins for this board