#MicroPython动手做(40)——机器视觉之图像基础 2
#逐字打印彩色文本Hello
#MicroPython动手做(40)——机器视觉之图像基础 2
#逐字打印彩色文本Hello
import time
import mixno
import lcd
import image
lcd.init(freq=15000000,color=0)
image = image.Image()
lcd.display(image.draw_string(0,20,"H",248,20,mono_space=0))
time.sleep_ms(1000)
lcd.display(image.draw_string(110,20,"e",57351,18,mono_space=0))
time.sleep_ms(1000)
lcd.display(image.draw_string(170,20,"l",7936,20,mono_space=0))
time.sleep_ms(1000)
lcd.display(image.draw_string(215,20,"l",57599,20,mono_space=0))
time.sleep_ms(1000)
lcd.display(image.draw_string(245,20,"o",35937,18,mono_space=0))
|