File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -210,18 +210,9 @@ def _number(self, number):
210
210
211
211
class Seg7x4 (Seg14x4 ):
212
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 ."""
213
+ supports displaying a limited set of characters ."""
214
214
POSITIONS = [0 , 2 , 6 , 8 ] # The positions of characters.
215
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
216
def scroll (self , count = 1 ):
226
217
"""Scroll the display by specified number of places."""
227
218
if count >= 0 :
You can’t perform that action at this time.
0 commit comments