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:
18:42f7e3e98a29
Parent:
17:00a1379bd18a
Child:
20:da33cca77ce5
--- a/Adafruit_SSD1306.cpp	Mon Jan 31 13:07:52 2022 +0000
+++ b/Adafruit_SSD1306.cpp	Tue Feb 01 14:21:30 2022 +0000
@@ -74,7 +74,7 @@
     command((vccstate == SSD1306_EXTERNALVCC) ? 0x10 : 0x14);
 
     command(SSD1306_MEMORYMODE);
-    command(0x10);                                  // 0x0 act like ks0108
+    command(0x10);                                  // 0x10 Page addressing mode (compatible with SG1106)
 
     command(SSD1306_SEGREMAP | 0x1);