mv-lcd初始化

网友投稿 601 2022-11-10

mv-lcd初始化

mv-lcd初始化

# LCD Example## Note: To run this example you will need a LCD Shield for your OpenMV Cam.## The LCD Shield allows you to view your OpenMV Cam's frame buffer on the go.import sensor, image, lcdsensor.reset() # Initialize the camera sensor.sensor.set_pixformat(sensor.RGB565) # or sensor.GRAYSCALEsensor.set_framesize(sensor.QQVGA2) # Special 128x160 framesize for LCD Shield.#lcd.init(1,128,160,framesize=lcd.FWVGA,60) # Initialize the lcd screen.lcd.init(1, 128, height=160, framesize=0, refresh=30, triple_buffer=False, bgr=False)while(True): lcd.display(sensor.snapshot()) # Take a picture and display the image.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:stc8a--al422B————01,硬件上RE已经接地了。
下一篇:HttpMessageConverter报文信息转换器的深入讲解
相关文章

 发表评论

暂时没有评论,来抢沙发吧~