diff --git a/components/tc_bus/tc_bus.cpp b/components/tc_bus/tc_bus.cpp index a501cd5..980de3f 100644 --- a/components/tc_bus/tc_bus.cpp +++ b/components/tc_bus/tc_bus.cpp @@ -59,7 +59,7 @@ namespace esphome this->hardware_version_str_ = "Doorman-S3 " + std::to_string(ver[0]) + "." + std::to_string(ver[1]) + "." + std::to_string(ver[2]); // Override GPIO - if(ver[0] == 1 && (ver[1] == 3 || ver[1] == 4)) + if(ver[0] == 1 && (ver[1] == 3 || ver[1] == 4 || ver[1] == 5)) { esp32::ESP32InternalGPIOPin *gpio_pin_rx_; gpio_pin_rx_ = new(esp32::ESP32InternalGPIOPin); @@ -71,6 +71,7 @@ namespace esphome gpio_pin_tx_ = new(esp32::ESP32InternalGPIOPin); gpio_pin_tx_->set_pin(static_cast(8)); gpio_pin_tx_->set_flags(gpio::Flags::FLAG_OUTPUT); + gpio_pin_tx_->set_drive_strength(static_cast(20)); this->set_tx_pin(gpio_pin_tx_); ESP_LOGD(TAG, "Doorman Hardware GPIO Override: RX (%i), TX (%i)", this->rx_pin_->get_pin(), this->tx_pin_->get_pin());