Skip to content

Commit f2dcbc3

Browse files
author
David Buchmann
committed
Add newline
1 parent f0f7687 commit f2dcbc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adafruit_CharLCD/Adafruit_CharLCD_IPclock_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def run_cmd(cmd):
2121
lcd.clear()
2222
ipaddr = run_cmd(cmd)
2323
lcd.message(datetime.now().strftime('%b %d %H:%M:%S\n'))
24-
lcd.message('IP %s' % (ipaddr))
25-
lcd.message('Hello')
24+
lcd.message('IP %s\n' % (ipaddr))
25+
lcd.message('Hello\n')
2626
lcd.message('World')
2727
sleep(2)

0 commit comments

Comments
 (0)