02 2022 档案
手机录屏进程
摘要:adb方式 adb shell screenrecord /sdcard/test.mp4 # 设置视频分辨率 adb shell screenrecord --size 840*840 /sdcard/test.mp4 # 设置视频比特率 为2M,默认为4M adb shell screenrec
阅读全文
Pyserial 学习
摘要:# 连接串口 ser = serial.Serial("COM12", 115200, timeout=0.5, bytesize=8, parity=serial.PARITY_NONE, stopbits=1) # 向端口写数据,返回发送的字节数 ser.write("hello") ser.r
阅读全文