logo

为什么IDE上有图像,LCD上只显示白色。

2023-09-25 22:05
Y
xn4i
请在这里粘贴代码

(IDE版本openMV3.03 exe,LCD版本:openMV4 plus 3 CamM7 H7)

# 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

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中

5ca31da8-edae-41ef-86e6-9f152068f67a.jpg
2023-09-26 21:10
I
网红小智智 星瞳科技

估计是OpenMV的插针没有焊接好。如果检查不出,可以寄回检查。