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(framesize=lcd.QVGA) # Initialize the lcd screen.
while(True):
lcd.display(sensor.snapshot()) # Take a picture and display the image.
3
3zwl
@3zwl
0
声望
4
楼层
282
资料浏览
0
粉丝
0
关注
3zwl 发布的帖子
-
openmv3 在使用固件版本为4.2.3 报错,没有lcd.QVGA