Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions Matrix_On_Air/matrix_on_air.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

# --- Drawing setup ---
# Create a Group
group = displayio.Group(max_size=22)
group = displayio.Group()
# Create a bitmap object
bitmap = displayio.Bitmap(64, 32, 2) # width, height, bit depth
# Create a color palette
Expand Down Expand Up @@ -117,15 +117,11 @@ def redraw_wings(index): # to change colors
air_y = 25


text_line1 = adafruit_display_text.label.Label(
deco_font, color=color[3], text="OFF", max_glyphs=6
)
text_line1 = adafruit_display_text.label.Label(deco_font, color=color[3], text="OFF")
text_line1.x = off_x
text_line1.y = off_y

text_line2 = adafruit_display_text.label.Label(
deco_font, color=color[1], text="AIR", max_glyphs=6
)
text_line2 = adafruit_display_text.label.Label(deco_font, color=color[1], text="AIR")
text_line2.x = air_x
text_line2.y = air_y

Expand Down