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.
This commit is contained in:
Quency-D
2025-11-20 22:47:41 +08:00
committed by GitHub
parent ef298814f2
commit f329de04c4

View File

@@ -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