因为这个LCD当时设计的时候没有考虑低功耗的问题。所以需要魔改一下。 代码: 主要是设置成推挽输出,不启动芯片内部拉电阻。 import sensor, image, lcd import time import pyb 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. import time from pyb import Pin, Timer lcd_backlight = pin=Pin("P6", Pin.OUT_PP, pull=Pin.PULL_NONE) lcd_backlight.value(1) #light for i in range(100): lcd.display(sensor.snapshot()) # Take a picture and display the image. pyb.standby() while(True): lcd.display(sensor.snapshot()) # Take a picture and display the image.