We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d5edad commit 30d4991Copy full SHA for 30d4991
examples/ht16k33_animation_demo.py
@@ -4,6 +4,11 @@
4
The display must be initialized with auto_write=False.
5
"""
6
7
+from time import sleep
8
+import board
9
+import busio
10
+from adafruit_ht16k33.segments import Seg14x4
11
+
12
#
13
# Segment bits on the HT16K33 with alphanumeric display.
14
@@ -35,11 +40,6 @@
35
40
# Brightness of the display (0 to 15)
36
41
DEFAULT_DISPLAY_BRIGHTNESS = 2
37
42
38
-from time import sleep
39
-import board
-import busio
-from adafruit_ht16k33.segments import Seg14x4
-
43
# Initialize the I2C bus
44
i2c = busio.I2C(board.SCL, board.SDA)
45
@@ -307,7 +307,7 @@ def count_down():
307
sleep(1.0)
308
309
310
- print("Enclosed Spinners")
+ print("Enclosed Spinners")
311
enclosed_spinners(0.1, 20)
312
313
display.fill(0)
0 commit comments