Skip to content

Commit e8a9985

Browse files
committed
Update Adafruit_CharLCDPlate.py
Fixed errors in scrollDisplyLeft utility method
1 parent ae10bfb commit e8a9985

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adafruit_CharLCDPlate/Adafruit_CharLCDPlate.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@ def ToggleBlink(self):
362362
self.write(self.LCD_DISPLAYCONTROL | self.displaycontrol)
363363

364364

365-
def DisplayLeft(self):
365+
def scrollDisplayLeft(self):
366366
""" These commands scroll the display without changing the RAM """
367-
self.displayshift = self.LCD_DISPLAYMODE | self.LCD_MOVELEFT
367+
self.displayshift = self.LCD_DISPLAYMOVE | self.LCD_MOVELEFT
368368
self.write(self.LCD_CURSORSHIFT | self.displayshift)
369369

370370

0 commit comments

Comments
 (0)