该项目是 EMP-IDE 串口连接的转发工具,用于将串口的数据向浏览器进行实时的转发。
pip install emp-wsb
# wsb run [device] [port]
# devive: serial device name
# port: the port that websocket will listen to, default is 9000
# for example:
wsb run com3
______ __ __ ______ __ __ ______ ______
/\ ___\ /\ "-./ \ /\ == \ /\ \ _ \ \ /\ ___\ /\ == \
\ \ __\ \ \ \-./\ \ \ \ _-/ \ \ \/ ".\ \ \ \___ \ \ \ __<
\ \_____\ \ \_\ \ \_\ \ \_\ \ \__/".~\_\ \/\_____\ \ \_____\
\/_____/ \/_/ \/_/ \/_/ \/_/ \/_/ \/_____/ \/_____/
wsb plugin running at:
- local: http://localhost:9000