I tried to use pyb.repl_uart command, but got the following in the terminal:
Code: Select all
Connecting to COM6 (buffer-size 512)...
Trying to connect to REPL connected
Testing if sys.stdin.buffer exists
The method with os.dupterm() command also did not help.
If I tried to initialize UART2 interface, the REPL said the following:
Code: Select all
ValueError: UART is static and can't be init'd