m1w dock 开发七路声源模块代码与接线教程
from Maix import MIC_ARRAY as mic
import lcd,sensor,image,cv2
lcd.init()
mic.init()
while True:
imga = mic.get_map()
b = mic.get_dir(imga)
a = mic.set_led(b,(0,255,0))
imgb = imga.resize(160,160)
imgc = imgb.to_rainbow(1)
a = lcd.display(imgc)
print(imga)
img=imga.draw_arrow(1,1,4,4)
mic.deinit()
原文地址:https://blog.csdn.net/2301_80317247/article/details/145311819
免责声明:本站文章内容转载自网络资源,如侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!