From 6ad5326f1d1e44b8d17ffb5b3a7bd2312d9f7ae8 Mon Sep 17 00:00:00 2001 From: kempe63 <78020007+kempe63@users.noreply.github.com> Date: Sat, 23 Sep 2023 16:06:14 +0100 Subject: [PATCH] PCA9555 compiles and tested on PCA9548 mux IO_PCA9555.h added changes that had been applied to IO_MCP23017 for support on PCA9548 Mux. Constructor now also private and type casting of variables made the same for IO_PCA9555. Tested with MCP23017 and PCA9555 simultaneous on the same Mux Subbus --- IO_PCA9555.h | 1 + 1 file changed, 1 insertion(+) diff --git a/IO_PCA9555.h b/IO_PCA9555.h index 75f2c38..607e1a8 100644 --- a/IO_PCA9555.h +++ b/IO_PCA9555.h @@ -34,6 +34,7 @@ public: if (checkNoOverlap(vpin, nPins, i2cAddress)) new PCA9555(vpin,nPins, i2cAddress, interruptPin); } + private: // Constructor PCA9555(VPIN vpin, uint8_t nPins, I2CAddress I2CAddress, int interruptPin=-1)