Skip to content

Commit 3d4340c

Browse files
authored
Update charlcd_mono_simpletest.py
1 parent 7ef2cc6 commit 3d4340c

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

examples/charlcd_mono_simpletest.py

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,40 +25,14 @@
2525
lcd.backlight = True
2626
# Print a two line message
2727
lcd.message = "Hello\nCircuitPython"
28-
# Wait 3s
29-
time.sleep(3)
30-
# Print two line message with cursor set to column 2
31-
lcd.clear()
32-
lcd.cursor_position(2, 0)
33-
lcd.message = "Hello\nCircuitPython"
3428
# Wait 5s
3529
time.sleep(5)
3630
lcd.clear()
37-
# Stars across the display one a time on second row from L to R
38-
# using cursor_position
39-
for i in range(16):
40-
lcd.cursor_position(i, 1)
41-
lcd.message = "*"
42-
time.sleep(0.1)
43-
lcd.clear()
4431
# Print two line message right to left
4532
lcd.text_direction = lcd.RIGHT_TO_LEFT
4633
lcd.message = "Hello\nCircuitPython"
4734
# Wait 5s
4835
time.sleep(5)
49-
# Print two line R to L message with cursor set to column 3
50-
lcd.clear()
51-
lcd.text_direction = lcd.RIGHT_TO_LEFT
52-
lcd.cursor_position(3, 0)
53-
lcd.message = "Hello\nCircuitPython"
54-
# Wait 3s
55-
time.sleep(3)
56-
# Stars across the display one a time on second row from R to L
57-
lcd.clear()
58-
for i in range(16):
59-
lcd.cursor_position(i, 1)
60-
lcd.message = "*"
61-
time.sleep(0.1)
6236
lcd.clear()
6337
# Return text direction to left to right
6438
lcd.text_direction = lcd.LEFT_TO_RIGHT
@@ -77,7 +51,6 @@
7751
lcd.blink = False
7852
lcd.clear()
7953
# Create message to scroll
80-
lcd.cursor_position(5, 0)
8154
scroll_msg = '<-- Scroll'
8255
lcd.message = scroll_msg
8356
# Scroll message to the left

0 commit comments

Comments
 (0)