OLED I2C demo for the SSD1306 and SH1106 displays

Dependencies:   mbed OLED_SSD1306_SH1106

Revision:
1:ec7f794146bb
Parent:
0:7696eb63de12
--- a/main.cpp	Mon Jan 31 13:42:35 2022 +0000
+++ b/main.cpp	Tue Feb 01 15:21:52 2022 +0000
@@ -23,7 +23,7 @@
     oled.clearDisplay();
     oled.drawRect(0,0,oled.width(),oled.height(),1); 
     oled.display();
-    oled.setTextColor(1);
+    oled.setTextColor(WHITE);
     oled.setTextSize(1);
     oled.setTextCursor(10,8);
     oled.printf("SH1106 %ux%u",oled.width(),oled.height());