当前位置:网站首页>mv-lcd initialization
mv-lcd initialization
2022-08-06 14:03: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.
边栏推荐
- SAP 特征 Classification
- [Blue Bridge Cup Training 100 Questions] Scratch ticket change, Blue Bridge Cup scratch competition special prediction programming questions, training simulation practice questions No. 23
- This article will take you to understand the technical principles of CDN!
- go Benchmark 写法注意事项
- SparkStreaming 案例实操 完整使用 (第十七章)
- HyperLynx(二)LineSim的基本操作
- 1. What are microservices?
- Installation configuration of QT under Win10 (available for personal testing)
- MySQL存储引擎
- Apple开发如何在设备中切换IAP(内购)沙盒测试账户?
猜你喜欢

Security on the seventh day to practice after class

burst!Ni Xingjun served as the chairman of Alipay China. He was born in technology and wrote the first line of "Alipay" code......

论文解读:《iRice-MS:用于检测水稻多型翻译后修饰位点的集成 XGBoost 模型》

浅谈树状数组

LeetCode高频题78. 子集,返回该数组所有可能的子集(幂集),生成所有的子序列

unity2D横版游戏教程10-场景控制

为什么 DeFi 中的安全事件这么多?

leetcode经典例题——滑动窗口最大值

重写muduo网络库开发环境和前期准备

从技术全景到场景实战,透析「窄带高清」的演进突破
随机推荐
Go 的 50 度灰: 新 Golang 开发者要注意的陷阱、技巧和常见错误
R语言使用addmargins函数和prop.table函数为二维列联表计算列(column)比例值以及对应的边缘比率值、使用addmargins函数和prop.table函数计算二维列联表行边缘比率
Validate date format
智慧城市系列-1
Security on the seventh day to practice after class
redis data types and common commands
Panda
LeetCode 热题 HOT 100(3. 无重复字符的最长子串)
狂神说之redis笔记
力扣练习——53 寻找旋转排序数组中的最小值
接口测试CURL复制以及postman的Code功能
Rocket MQ Crash-Safe机制浅析
The difference between == and equals()
The basic process used by mosquitto and some problems encountered
muduo网络库的使用
40 degrees high temperature, how to find the coolest place indoors through SOLIDWORKS?
双非研究生值不值得报考?这些优势你还不知道?
cube开源一站式云原生机器学习平台--volcano 多机分布式计算
Interface test CURL replication and postman's Code function
redis使用