import screen
import sensor


screen.init(width=320, height=240, direction=True, triple_buffer=False)
sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QVGA)
sensor.set_hmirror(False)
sensor.set_vflip(True)
paizhao = sensor.snapshot()
paizhao.draw_circle(50, 50, 20, color=(255,0,0), thickness=2, fill=False)
paizhao.draw_string(100, 200, 'Hello', color=(255,0,0), thickness=1)
screen.display(paizhao)
