Forked from Neal Horman: Adafruit_GFX, a derived version of the BSD licensed Adafrut GFX library for the SSD1306 controller for an OLED 128x32 or 128x64 display using SPI or I2C. Now it is adopted also for the SH1106 I2C 128x64 display as well...

Dependents:   Lab06_oled_i2c Lab06_BME280_oled Lab06_oled_clock I2C_SSD1306andSH1106_nucleo_F446RE

Revision:
17:00a1379bd18a
Parent:
16:7fb1d4d3525d
Child:
18:42f7e3e98a29
diff -r 7fb1d4d3525d -r 00a1379bd18a Adafruit_SSD1306.cpp
--- a/Adafruit_SSD1306.cpp	Tue Nov 11 22:08:20 2014 +0000
+++ b/Adafruit_SSD1306.cpp	Mon Jan 31 13:07:52 2022 +0000
@@ -74,7 +74,7 @@
     command((vccstate == SSD1306_EXTERNALVCC) ? 0x10 : 0x14);
 
     command(SSD1306_MEMORYMODE);
-    command(0x00);                                  // 0x0 act like ks0108
+    command(0x10);                                  // 0x0 act like ks0108
 
     command(SSD1306_SEGREMAP | 0x1);