Skip to content

Commit 51a5137

Browse files
committed
update I2C_LCD1602 demo
1 parent 106a132 commit 51a5137

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎lcd/I2C_LCD1602/test.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
99
'''
1010
from machine import I2C, Pin
11-
from mp_i2c_lcd1602 import LCD1602
11+
from i2c_lcd1602 import I2C_LCD1602
1212
from time import sleep_ms
1313

1414
i2c = I2C(1, sda=Pin(9), scl=Pin(10))
1515

16-
LCD = LCD1602(i2c)
16+
LCD = I2C_LCD1602(i2c)
1717

1818
LCD.puts("I2C LCD1602")
1919
n = 0

0 commit comments

Comments
 (0)