Skip to content

Commit 72e1901

Browse files
author
David Buchmann
committed
Use home instead of clear
1 parent f2dcbc3 commit 72e1901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adafruit_CharLCD/Adafruit_CharLCD_IPclock_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def run_cmd(cmd):
1818
return output
1919

2020
while 1:
21-
lcd.clear()
21+
lcd.home()
2222
ipaddr = run_cmd(cmd)
2323
lcd.message(datetime.now().strftime('%b %d %H:%M:%S\n'))
2424
lcd.message('IP %s\n' % (ipaddr))

0 commit comments

Comments
 (0)