Skip to content

Commit 4089706

Browse files
author
Raspberry Fruit
committed
match the tutorial
1 parent 932d292 commit 4089706

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adafruit_CharLCD/Adafruit_CharLCD.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class Adafruit_CharLCD:
1313

14-
def __init__(self, pin_rs=24, pin_e=23, pins_db=[17, 21, 22, 25]):
14+
def __init__(self, pin_rs=25, pin_e=24, pins_db=[23, 17, 21, 22]):
1515

1616
self.pin_rs = pin_rs
1717
self.pin_e = pin_e
@@ -99,5 +99,5 @@ def message(self, text):
9999
lcd = Adafruit_CharLCD()
100100

101101
lcd.clear()
102-
lcd.message(" Adafruit 16x2\n Standard LCD")
102+
lcd.message(" Adafruit 16x2\n Standard LCD")
103103

0 commit comments

Comments
 (0)