diff --git a/ESPController/src/HAL_ESP8266.cpp b/ESPController/src/HAL_ESP8266.cpp index 76e13f9..b0a59b1 100644 --- a/ESPController/src/HAL_ESP8266.cpp +++ b/ESPController/src/HAL_ESP8266.cpp @@ -53,7 +53,6 @@ void HAL_ESP8266::ConfigureI2C(void (*ExternalInputInterrupt)(void)) //D5 is interrupt pin from PCF8574 pinMode(PFC_INTERRUPT_PIN, INPUT_PULLUP); - //Default pcf8574 = &pcf8574_0x20; @@ -64,6 +63,10 @@ void HAL_ESP8266::ConfigureI2C(void (*ExternalInputInterrupt)(void)) pcf8574 = &pcf8574_0x38; SERIAL_DEBUG.println(F("PCF8574 at address 0x38")); } + else + { + SERIAL_DEBUG.println(F("PCF8574 at address 0x20")); + } //Make PINs 4-7 INPUTs - the interrupt fires when triggered pcf8574->begin();