Skip to content

Commit 7c9ca67

Browse files
committed
Update i2c_lcd1602.py
- replace utime with time. - remove useless code.
1 parent 4aecdfd commit 7c9ca67

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎lcd/I2C_LCD1602/i2c_lcd1602.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
https://www.micropython.org.cn
88
99
'''
10-
from utime import sleep_ms
11-
from machine import I2C
10+
from time import sleep_ms
1211

1312
LCD_I2C_ADDR=const(63)
1413

0 commit comments

Comments
 (0)