- 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:
8:416b8fe451b3
Parent:
7:779204e24db4
Child:
9:ddb97c9850a2
--- a/Adafruit_SSD1306.h	Sat Oct 18 12:05:58 2014 -0500
+++ b/Adafruit_SSD1306.h	Sun Oct 19 04:45:11 2014 +0000
@@ -131,11 +131,10 @@
     
 private:
     
-    Serial pc;
     DigitalOut2 rst;
 #ifdef SSD_USES_SPI
+    DigitalOut2 cs,dc;
     SPI &mspi;
-    DigitalOut2 cs,dc;
 #elif defined SSD_USES_I2C
     I2C &mi2c;
 #endif