awtk icon indicating copy to clipboard operation
awtk copied to clipboard

awtk多线程

Open liuguohuan-xiezuo opened this issue 3 years ago • 1 comments

想写一个多线程的项目,用于串口读写,将串口读到的数据显示在当前页面上(有多页面),关键就是读数据,这个是需要一直监控着文件是否有数据流,所以需要起一个线程让他一直跑着,这个线程应该怎么启动,在哪里启动呢

liuguohuan-xiezuo avatar Aug 10 '22 06:08 liuguohuan-xiezuo

你可以看看这个文档:https://github.com/zlgopen/awtk/blob/master/docs/serial_widget.md

xianjimli avatar Aug 10 '22 10:08 xianjimli