From 08d03d665ba10b243a6709a93baa8d1761dbe1d3 Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Tue, 21 Mar 2023 15:02:53 -0500 Subject: [PATCH] OLED need to be reset for Heltec Lora 32 V2 --- main/ZdisplaySSD1306.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main/ZdisplaySSD1306.ino b/main/ZdisplaySSD1306.ino index 4b1d6af406..df52a4efa8 100644 --- a/main/ZdisplaySSD1306.ino +++ b/main/ZdisplaySSD1306.ino @@ -827,10 +827,10 @@ OledSerial Oled(0); // Not sure about this, came from Hardwareserial OledSerial::OledSerial(int x) { displayQueue = xQueueCreate(5, sizeof(displayQueueMessage*)); # if defined(WIFI_Kit_32) || defined(WIFI_LoRa_32) || defined(WIFI_LoRa_32_V2) - // pinMode(RST_OLED, OUTPUT); // https://github.com/espressif/arduino-esp32/issues/4278 - // digitalWrite(RST_OLED, LOW); - // delay(50); - // digitalWrite(RST_OLED, HIGH); + pinMode(RST_OLED, OUTPUT); // https://github.com/espressif/arduino-esp32/issues/4278 + digitalWrite(RST_OLED, LOW); + delay(50); + digitalWrite(RST_OLED, HIGH); display = new SSD1306Wire(0x3c, SDA_OLED, SCL_OLED, GEOMETRY_128_64); # elif defined(Wireless_Stick) // pinMode(RST_OLED, OUTPUT); // https://github.com/espressif/arduino-esp32/issues/4278