1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-22 23:56:13 +01:00

Update IO_PCA9555.h

Now compiles and works on PCA9548 Mux. Tested with MCP23017 and PCA9555 on the same Subbus
This commit is contained in:
kempe63 2023-09-23 16:10:16 +01:00
parent 6ad5326f1d
commit dab02ec659

View File

@ -34,7 +34,6 @@ public:
if (checkNoOverlap(vpin, nPins, i2cAddress)) new PCA9555(vpin,nPins, i2cAddress, interruptPin); if (checkNoOverlap(vpin, nPins, i2cAddress)) new PCA9555(vpin,nPins, i2cAddress, interruptPin);
} }
private: private:
// Constructor // Constructor
PCA9555(VPIN vpin, uint8_t nPins, I2CAddress I2CAddress, int interruptPin=-1) PCA9555(VPIN vpin, uint8_t nPins, I2CAddress I2CAddress, int interruptPin=-1)