Skip to content

Commit 494324b

Browse files
authored
Update lcd.py
1 parent fe7f2c3 commit 494324b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample/lcd/lcd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ class Lcd(LcdApi):
231231

232232
# Implements a HD44780 character LCD connected via PCF8574 on I2C
233233

234-
def __init__(self, i2c: I2C, i2c_addr=0x3f, num_lines=2, num_columns=16):
234+
def __init__(self, i2c: I2C, i2c_addr=0x27, num_lines=2, num_columns=16):
235235
self.i2c = i2c
236236
self.i2c_addr = i2c_addr
237237
self.i2c.writeto(self.i2c_addr, bytes([0]))

0 commit comments

Comments
 (0)