Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
我用的是: while(uart.read()==0): pass 来实现一个暂停的功能
都差不多,不影响业务的情况下,没必要追求执行的快。。。
影响业务 T_T,比赛用的
你的代码不对,应该用
if uart.any():
https://singtown.com/learn/50240/