1.绘制图形 import lcd, image #初始化lcd和image lcd.init() img = image.Image(size=(lcd.width(), lcd.height())) #填充背景颜色为(0, 81, 137) img.draw_rectangle((0, 0, lcd.width(), lcd.height()), fill=True, color=(0, 81, 137)) #在(50,10)位置显示“Hello”字符串 img.draw_string(50, 10, "Hello", color=(255, 255, 255), scale