logo

关于循环问题

2018-04-14 21:51
X
_236699
ced6b8af-0abc-4c46-bb8a-06a90f07fd66.png
2018-04-14 22:54
X
_236699
fbde23c3-3b3f-4ad9-bfc8-4d6a82592bc2.png
2018-04-15 12:37
I
网红小智智 星瞳科技

请贴出具体的代码,与报错提示。

2018-04-15 23:43
X
_236699

gle=pyb.LED(2)

for blob in g.find_blobs([threshold], pixels_threshold=100, area_threshold=100, merge=True, margin=10):

gle.on()

uart.write("1")

sensor.skip_frames(time = 27000)

gle.off()

没有错误,只是一直在往串口发数据

2018-04-16 09:29
I
网红小智智 星瞳科技

请给出我可以运行的代码,谢谢