mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-17 00:02:55 +00:00
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:
@@ -477,6 +477,10 @@ void setup()
|
|||||||
#ifdef RESET_OLED
|
#ifdef RESET_OLED
|
||||||
pinMode(RESET_OLED, OUTPUT);
|
pinMode(RESET_OLED, OUTPUT);
|
||||||
digitalWrite(RESET_OLED, 1);
|
digitalWrite(RESET_OLED, 1);
|
||||||
|
delay(2);
|
||||||
|
digitalWrite(RESET_OLED, 0);
|
||||||
|
delay(10);
|
||||||
|
digitalWrite(RESET_OLED, 1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SENSOR_POWER_CTRL_PIN
|
#ifdef SENSOR_POWER_CTRL_PIN
|
||||||
|
|||||||
Reference in New Issue
Block a user