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).
怎么能同时识别3个不同颜色的色块,并以123的形式串口通信到2560上面
红色色块们=find_blobs(红色阈值) 绿色色块们=find_blobs(绿色阈值) 黄色色块们=find_blobs(黄色阈值) if 红色色块们: uart.write(“1”) if 绿色色块们: uart.write(“2”) if 黄色色块们: uart.write(“3”)