Skip to content

Commit c78502b

Browse files
author
Melissa LeBlanc-Williams
committed
Fixed Marquee bug with periods
1 parent fb0c4c6 commit c78502b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_featherwing/alphanum_featherwing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def print(self, value):
5656
from adafruit_featherwing import alphanum_featherwing
5757
5858
display = alphanum_featherwing.AlphaNumFeatherWing()
59-
display.print(1234)
59+
display.print(123)
6060
6161
"""
6262
self._seg14x4.print(value)
@@ -90,6 +90,8 @@ def marquee(self, text, delay=0.25, loop=True):
9090
def _scroll_marquee(self, text, delay):
9191
for character in text:
9292
self._seg14x4.scroll()
93+
if character == '.':
94+
self._seg14x4[3] = ' ';
9395
self._seg14x4[3] = character
9496
sleep(delay)
9597
self._seg14x4.show()

0 commit comments

Comments
 (0)