logo

添加显示器串口没输出没显示?

2023-10-19 16:13
L
ozuf

我在openmv4 h7加了显示器后,串口1显示器占用了吗?

img = sensor.snapshot()

img.draw_rectangle((12,128,240,55), color=(255, 255, 255), thickness=1,fill=False)

img.draw_rectangle((16,122,234,52), color=(255, 255, 255), thickness=1,fill=False)

for threshold in thresholds:

while True:

j=0

for i,template in zip(data_templates,templates):

r=img.find_template(template,threshold,step=4,search=SEARCH_EX)

if r :

img.draw_string(r[0], r[1], str(i), color=(255,255,255), scale=2)

img.draw_rectangle(r, color=(0, 0, 0), fill=False)

lcd.display(img)

运行程序显示器没显示?

2023-10-19 19:33
I
网红小智智 星瞳科技

串口1 和lcd扩展板引脚冲突。

https://singtown.com/product/636/opeenmv-lcd-shield/