提交 0eb0d74a authored 作者: 唐睿骞's avatar 唐睿骞
......@@ -3,8 +3,8 @@ from lcd1602 import LCD1602
from machine import I2C,Pin
from time import sleep
i2c = I2C(1,scl=Pin(7), sda=Pin(6), freq=400000)
d = LCD1602.display(i2c, 2, 16)
#d = LCD1602_RGB.display(i2c, 2, 16)
d = LCD1602(i2c, 2, 16)
#d = LCD1602_RGB(i2c, 2, 16)
#d.set_rgb(255, 0, 0)
sleep(1)
d.home()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论