TTYDev - Pseudo TTY Device
PTTYDev - Pseudo TTY Device
PTTYDev provides a common interface and enhanced timeout and automatic reconnection handling. Using a pttydev enables your code to read / write a serial device or websocket.
Tested on ESP32, pyserial and MicroPython WebRepl
What's new ?
for latest ongoing, or upcoming news
in case of unexpected behaviour change timeouts for your board
deprecated hint: there is a known bug with WebREPL
pttydev can be installed with pip from here pttydev
some sample code is under the pttydev directory on project homepage on github
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.