Seeed Studio's 0.96" OLED module

Dependencies:   Adafruit_GFX

Fork of SSD1308_128x64_I2C by Wim Huiskamp

Revision:
10:74ef7544744e
Parent:
7:dcff685d41a5
--- a/SSD1308.h	Thu Apr 27 16:06:54 2017 -0600
+++ b/SSD1308.h	Thu Jun 22 12:53:07 2017 -0600
@@ -224,7 +224,7 @@
       *@param I2C &i2c reference to i2c,
       *@param uint8_t deviceAddress slaveaddress (8bit to use for the controller (0x78 by default, assumes D/C# (pin 13) grounded)
      */
-    SSD1308(I2C &i2c, uint8_t address = SSD1308_DEF_SA);
+    SSD1308(I2C * i2c, uint8_t address = SSD1308_DEF_SA);
 
 // High Level methods
 
@@ -540,7 +540,7 @@
      */
     void _init();
 
-    I2C _i2c;              // I2C bus reference
+    I2C * _i2c;              // I2C bus reference
     uint8_t _readOpcode;   // contains the I2C address of the device
     uint8_t _writeOpcode;  // contains the I2C address of the device