Skip to content

Commit

Permalink
minor changes on line seperation and a bad case on a letter
Browse files Browse the repository at this point in the history
  • Loading branch information
altrdgenetics committed Aug 2, 2017
1 parent 99555ec commit 4d38e28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Ticker.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import random
import urllib
import threading
Expand All @@ -20,7 +21,7 @@ def display():
message = f.read()

if len(message) > lcdLineLimit:
message = message[:lcdLineLimit] + "/n" + message[lcdLineLimit:]
message = message[:lcdLineLimit] + os.linesep + message[lcdLineLimit:]

# Setup the LCD for Display
red = random.randint(0, 1)
Expand All @@ -32,7 +33,7 @@ def display():
green = 1
blue = 1

lcd.set_Color(red, green, blue)
lcd.set_color(red, green, blue)
lcd.clear()
lcd.message(message)

Expand Down

0 comments on commit 4d38e28

Please sign in to comment.