- code cleaned up in many points for a better readability - removed SPIPreinit and I2CPreinit classes - moved various method implementations from .h files to the corresponding .cpp ones - the splash() and clearDisplay() methods now directly update the display; no more need to call the display() method after them

Dependencies:   Adafruit_GFX mbed

Fork of Adafruit_GFX by Neal Horman

Revision:
16:7fb1d4d3525d
Parent:
15:77feec1c0684
Child:
17:396d9b7eb7d5
--- a/Adafruit_SSD1306.cpp	Tue Nov 11 22:02:52 2014 +0000
+++ b/Adafruit_SSD1306.cpp	Tue Nov 11 22:08:20 2014 +0000
@@ -94,9 +94,9 @@
 
     command(SSD1306_DISPLAYALLON_RESUME);
 
-    //command(SSD1306_NORMALDISPLAY);
+    command(SSD1306_NORMALDISPLAY);
     
-    //command(SSD1306_DISPLAYON);
+    command(SSD1306_DISPLAYON);
 }
 
 // Set a single pixel