Skip to content
Prev Previous commit
Next Next commit
Update charlcd_mono_simpletest.py
  • Loading branch information
profbrady authored Apr 12, 2019
commit eb8612e0c3e1c2b88266eb05d016b8ea5aad6bcd
3 changes: 1 addition & 2 deletions examples/charlcd_mono_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
lcd.message = "Hello\nCircuitPython"
# Wait 5s
time.sleep(5)
lcd.clear()
# Return text direction to left to right
lcd.text_direction = lcd.LEFT_TO_RIGHT
# Display cursor
Expand All @@ -54,7 +53,7 @@
scroll_msg = '<-- Scroll'
lcd.message = scroll_msg
# Scroll message to the left
for i in range(len(scroll_msg)+5):
for i in range(len(scroll_msg)):
time.sleep(0.5)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there are still some changes to the simpletest, so just remove the +5

lcd.move_left()
lcd.clear()
Expand Down