例程讲解11-LCD-Shield->lcd 显示

视频教程7 - LCD显示屏的使用:https://singtown.com/learn/49601/
# LCD显示例程
#
#注意:要运行这个例子,你需要一个用于OpenMV的LCD扩展板。
#
# LCD扩展板允许您在运行时查看您的OpenMV Cam的帧缓冲区。

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() # Initialize the lcd screen.

while(True):
    lcd.display(sensor.snapshot()) # Take a picture and display the image.

星瞳科技OpenMV官方中文文档函数讲解:

results matching ""

    No results matching ""