摘要: import sensor, time, image sensor.reset() # Initialize the camera sensor. sensor.set_pixformat(sensor.GRAYSCALE) # or sensor.GRAYSCALE sensor.set_fram 阅读全文
posted @ 2025-02-11 14:43 二九二 阅读(60) 评论(0) 推荐(0)
摘要: sensor.reset() # Initialize the camera sensor. sensor.set_pixformat(sensor.GRAYSCALE) # or sensor.GRAYSCALE sensor.set_framesize(sensor.B128X128) # or 阅读全文
posted @ 2025-02-11 14:34 二九二 阅读(38) 评论(0) 推荐(0)
摘要: 移植: 1.import display 导入库 2.sensor.set_framesize(sensor.QQVGA2) 设置分辨率,lcd的分辨率是160*128,如果原代码中是QQVGA,也可以不用改 3.lcd = display.SPIDisplay() lcd初始化 4.sensor. 阅读全文
posted @ 2025-02-11 13:48 二九二 阅读(575) 评论(0) 推荐(0)