1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 21:01:25 +01:00

Add being

This commit is contained in:
peteGSX 2023-01-10 08:16:42 +10:00
parent 9abcfb9e4f
commit 5c120efa16

View File

@ -73,7 +73,7 @@ private:
void _begin() { void _begin() {
// Initialise EX-IOExander device // Initialise EX-IOExander device
// uint8_t _check = I2CManager.checkAddress(_i2cAddress); // uint8_t _check = I2CManager.checkAddress(_i2cAddress);
delay(100); I2CManager.begin();
if (I2CManager.exists(_i2cAddress)) { if (I2CManager.exists(_i2cAddress)) {
_digitalOutBuffer[0] = EXIOINIT; _digitalOutBuffer[0] = EXIOINIT;
_digitalOutBuffer[1] = _numDigitalPins; _digitalOutBuffer[1] = _numDigitalPins;