# Untitled - By: liuha - Mon Sep 29 2025

import sensor
import time,screen
from text import draw_text

sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QVGA)

screen.init()

clock = time.clock()

while True:
    clock.tick()
    img = sensor.snapshot()
    draw_text(img,160,120,'这个程序来自AI测试',center=True)
    screen.display(img)
    print(clock.fps())
