micropython 软串口(software serial)for esp32

No gifts for this update.

Added a soft serial interface module, the code in serial.py.

添加了软串口模块,代码在 serial.py

You can stop worrying about the number of serial ports, but note that only 9600 are stable, 57600 will shake, 115200 to be fixed (ESP-IDF normal).
你可以不再担心串口数量了,但注意,只有 9600 最稳定,57600 会抖动,115200 待修复(IDF 下正常)。

code in github/esp-idf-software-serial