logo

这个程序中的lcd.py文件在哪儿找?

2021-04-09 20:39
1
igkg

import sensor, image

import 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.

#lcd初始化

while(True):

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

#将图像显示在lcd中

2021-04-13 00:08
I
网红小智智 星瞳科技

https://github.com/openmv/openmv/blob/f0903dd67f01cae68bbe50f090aba0a90064b52f/src/omv/ports/stm32/modules/py_lcd.c