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

Add begin delay to test

This commit is contained in:
peteGSX 2023-01-09 20:08:36 +10:00
parent e01893bcf1
commit 9abcfb9e4f

View File

@ -73,6 +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);
if (I2CManager.exists(_i2cAddress)) { if (I2CManager.exists(_i2cAddress)) {
_digitalOutBuffer[0] = EXIOINIT; _digitalOutBuffer[0] = EXIOINIT;
_digitalOutBuffer[1] = _numDigitalPins; _digitalOutBuffer[1] = _numDigitalPins;