MicroMV LCD
MicroMV上外接显示屏的方法
连接方法:将TFT屏用8pin线连接在MicroMV背面的SPI-LCD接口上
- 具体程序控制如下,此程序实现的效果是将摄像头采集到的图像在TFT上显示出来
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.