Nathan Yonkee
/
OLED_128x64_I2C
Seeed Studio's 0.96" OLED module
Fork of SSD1308_128x64_I2C by
Diff: SSD1308.h
- Revision:
- 10:74ef7544744e
- Parent:
- 7:dcff685d41a5
diff -r dcff685d41a5 -r 74ef7544744e SSD1308.h --- 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