We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b545d77 + e7829e4 commit fa1275cCopy full SHA for fa1275c
adafruit_ht16k33/segments.py
@@ -210,18 +210,9 @@ def _number(self, number):
210
211
class Seg7x4(Seg14x4):
212
"""Numeric 7-segment display. It has the same methods as the alphanumeric display, but only
213
- supports displaying decimal and hex digits, period and a minus sign."""
+ supports displaying a limited set of characters."""
214
POSITIONS = [0, 2, 6, 8] # The positions of characters.
215
216
- def print(self, value):
217
- """Print the value to the display."""
218
- if isinstance(value, (int, float)):
219
- self._number(value)
220
- else:
221
- raise ValueError('Unsupported display value type: {}'.format(type(value)))
222
- if self._auto_write:
223
- self.show()
224
-
225
def scroll(self, count=1):
226
"""Scroll the display by specified number of places."""
227
if count >= 0:
0 commit comments