Replies: 2 comments 14 replies
-
At least when using Berry, you have the option of "inverted" when constructing a This is using the corresponding option on TasmotaSerial It should be simple to set that option from the serial bridge, if you go that way, but does not appear to already be externalized. |
Beta Was this translation helpful? Give feedback.
-
Try latest dev branch. It adds command |
Beta Was this translation helpful? Give feedback.
-
Tasmota uses the Arduino HarwareSerial Abstraction for its TasmotaSerial Class which is also uses by the Tasmota SerialBridge.
Until Tasmota 13.4.y, based on core 2.x, it has been possible to patch the source code to disable the pullup on the rxPin of the UART by using the function pinmode(rxPin, INPUT) from the Arduino collection.
Due to a semantic change from core 2.x to 3.x, that is no longer possible. With core 3.x, the UART becomes disconnected by the pinmode function and the pin becomes reconfigured as a digital input pin. Fortunately, it is possible to use an alternative lower driver level function gpio_pullup_dis(pin) for ESP32 instead to avoid to disconnect the UART, This function is declared within "driver/uart.h".
It seems to me to be desirable, that the TasmotaSerial class and SerialBridge would be enhanced with some config options, such that:
Or is this desired functionality already possible by other configurable means (without patching the code)?
Beta Was this translation helpful? Give feedback.
All reactions