Skip to content
Discussion options

You must be logged in to vote

The inactive state of a UART line is high. Using os.dupterm() you can indeed detach and attach UART from REPL. But in any case you

  • have to manage the UART configuration, especially setting the proper baud rate, and you
  • have to physically detach other connections to RX and TX when using UART trough the built-in USB/UART bridge of the Wemos D1 mini. Otherwise the RX pin will be blocked. That's a hardware issue, not related to the ESP8266. To make that switchable, you will need some kind of external control of the signal.

There is a PR #7784 for MicroPython which provides support for a ESP8266.
But using that requires, that you build your own firmware. And this PR was not updated a while.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Fisherman48
Comment options

Answer selected by Fisherman48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants