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:
8:416b8fe451b3
Parent:
7:779204e24db4
Child:
9:ddb97c9850a2
diff -r 779204e24db4 -r 416b8fe451b3 Adafruit_SSD1306.h
--- 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