From f329de04c47c6a57dbe218b7845704d2bbeec070 Mon Sep 17 00:00:00 2001 From: Quency-D <55523105+Quency-D@users.noreply.github.com> Date: Thu, 20 Nov 2025 22:47:41 +0800 Subject: [PATCH] Add a reset pulse signal to the OLED. (#8691) * Add a reset pulse signal to the OLED. * The modification time is the same as that of the Adafruit_SSD1306 library. --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 8fec62953..fd376ea51 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -477,6 +477,10 @@ void setup() #ifdef RESET_OLED pinMode(RESET_OLED, OUTPUT); digitalWrite(RESET_OLED, 1); + delay(2); + digitalWrite(RESET_OLED, 0); + delay(10); + digitalWrite(RESET_OLED, 1); #endif #ifdef SENSOR_POWER_CTRL_PIN