当前位置:网站首页>mv-lcd初始化
mv-lcd初始化
2022-08-08 17:49:00 【ooolmf】
# 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, lcd
sensor.reset() # Initialize the camera sensor.
sensor.set_pixformat(sensor.RGB565) # or sensor.GRAYSCALE
sensor.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.
边栏推荐
猜你喜欢
随机推荐
How to set timed network disconnection to assist self-discipline in win10
【NodeJs篇】fs文件系统模块
Tensorflow教程(三)——获取数据 feed 和 fetchn
【TypeScript】函数类型:返回值类型和参数类型到底如何定义?
LeetCode(剑指 Offer)- 22. 链表中倒数第k个节点
Jetpack Compose 的 Navigation学习
poj1363 Rails(栈模拟)
为什么MySQL的主键查询这么快
2 prerequisites for the success of "digital transformation" of enterprises!
【教程2】疯壳·ARM功能手机-测试程序介绍
what‘s the meaning of build-essential
2.MySQL链接和创建数据库,创建数据表
1dp到底多大!
无需精子卵子子宫体外培育胚胎,Cell论文作者这番话让网友们炸了
Getting started with glide4
【开源教程2】疯壳·开源编队无人机-硬件资源简介
21天学习第五天--数组
QT With OpenGL(泛光)(Bloom)
智文最终版本
KITTI数据集简介(一)—— 传感器介绍