Skip to content

Commit 9c3c38b

Browse files
author
Melissa LeBlanc-Williams
committed
Fix for multiple dots not showing up
1 parent 4a8c856 commit 9c3c38b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

adafruit_ht16k33/segments.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,10 @@ def _push(self, char):
232232
if char in ':;':
233233
self._put(char)
234234
else:
235-
super()._push(char)
235+
if char != '.' or self._get_buffer(self.POSITIONS[3]) & 0b10000000:
236+
self.scroll()
237+
self._put(' ', 3)
238+
self._put(char, 3)
236239

237240
def _put(self, char, index=0):
238241
"""Put a character at the specified place."""

0 commit comments

Comments
 (0)