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.
Platform
Tested on ESP32, pyserial and MicroPython WebRepl
Related project
What's new ?
Check
CHANGELOG
for latest ongoing, or upcoming news
Development status
Alpha state,
in case of unexpected behaviour change timeouts for your board
Limitation
deprecated hint: there is a known bug with WebREPL
Installation
pttydev can be installed with pip from here pttydev
Sample Code
some sample code is under the pttydev directory on project homepage on github