在Python中COM口的调用方法

vons92773 17 0 PDF 2021-01-03 23:01:07

如下所示: import serial import time t = serial.Serial('com6', 115200) #USB COM number on your PC and the transfer bit rate of the COM port. print t.portstr #Display the working UART port number on your PC. n = t.write('logcat -c \r') n = t.write('ampclient_samples 2 -O 3 /mnt/media_rw/B278-E25A/video_g

用户评论
请输入评论内容
评分:
暂无评论