微信小程序选项卡功能开发步骤与方法全解析
601
2022-11-10
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小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~