Modified Adafruit GFX library with support for selecting displays using an 74HC4067 Analog Multiplexer

Dependents:   mbed_oled

Fork of Adafruit_GFX by Neal Horman

Revision:
20:5fa5c734e5f2
Parent:
19:f393e67ed0b5
--- a/Adafruit_SSD1306.h	Thu Feb 05 22:07:19 2015 +0000
+++ b/Adafruit_SSD1306.h	Sun Mar 08 22:31:46 2015 +0000
@@ -238,7 +238,7 @@
 	 * @param rawHeight - The vertical number of pixels for the display, defaults to 32
 	 * @param rawWidth - The horizonal number of pixels for the display, defaults to 128
 	 */
-	mux_SSD1306_I2c(I2C &i2c, PinName RST, PortOut &mux, uint8_t MUXval = 1, uint8_t i2cAddress = SSD_I2C_ADDRESS, uint8_t rawHeight = 32, uint8_t rawWidth = 128)
+	mux_SSD1306_I2c(I2C &i2c, PinName RST, BusOut &mux, uint8_t MUXval = 1, uint8_t i2cAddress = SSD_I2C_ADDRESS, uint8_t rawHeight = 32, uint8_t rawWidth = 128)
 	    : Adafruit_SSD1306(RST, rawHeight, rawWidth)
 	    , mi2c(i2c)
 	    , mi2cAddress(i2cAddress)
@@ -288,7 +288,7 @@
 
 	I2C &mi2c;
 	uint8_t mi2cAddress;
-	PortOut &mmux;
+	BusOut &mmux;
 	uint8_t muxval;
 };