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).
这样子总是出问题,我想是通过stm32单片机发送数据过来,控制摄像头的开启,太难搞了,希望有大神能编一段程序
我也想知道 顶上
死循环外面的程序永远都执行不到。你的逻辑是错的。
此代码用于介绍思路,不能运行。
import sensor from pyb import UART while(True): if uart.any(): data = int(uart.readline()) if data ==1: img = sensor.snapshot() img.find_lbp() 这里是其他的处理