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:
1 parent
ef298814f2
commit
f329de04c4
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user