Skip to content

Commit 7971d1d

Browse files
author
=Dale Weber
committed
Removed a function that was no longer needed.
1 parent 8404557 commit 7971d1d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

examples/ht16k33_animation_demo.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@
4949
display = Seg14x4(i2c, auto_write=False)
5050
display.brightness = DEFAULT_DISPLAY_BRIGHTNESS
5151

52-
def check_animate_values(dig, bits):
53-
if not 0 <= dig <= 3:
54-
raise ValueError('Digit value must be an integer in the range: 0-3')
55-
56-
if not 0 <= bits <= 0xFFFF:
57-
raise ValueError('Bitmask value must be an integer in the range: 0-65535')
58-
5952
def animate(digits, bitmasks, delay=DEFAULT_CHAR_DELAY_SEC, auto_write=True):
6053
'''
6154
Main driver for all alphanumeric display animations (WIP!!!)

0 commit comments

Comments
 (0)