Skip to content

Commit 8ccd02c

Browse files
authored
Merge pull request #1995 from caternuson/update_for_bundlefly
Update for bundlefly
2 parents da5f135 + d7ea266 commit 8ccd02c

File tree

18 files changed

+25676
-11
lines changed

18 files changed

+25676
-11
lines changed

MagTag_Dishwasher_Status/wake_on_button/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
alarm.sleep_memory[0] = not alarm.sleep_memory[0]
1616

1717
# set bitmap
18-
bmp_file = "clean.bmp" if alarm.sleep_memory[0] else "dirty.bmp"
18+
bmp_file = "/images/clean.bmp" if alarm.sleep_memory[0] else "/images/dirty.bmp"
1919

2020
# show bitmap
2121

MagTag_Dishwasher_Status/wake_on_flip/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333
# update based on orientation
3434
if y > 0:
3535
# upside up
36-
bmp_file = "clean.bmp"
36+
bmp_file = "/images/clean.bmp"
3737
rotation = 270
3838
irq_config = 0b01000100
3939
else:
4040
# upside down
41-
bmp_file = "dirty.bmp"
41+
bmp_file = "/images/dirty.bmp"
4242
rotation = 90
4343
irq_config = 0b01001000
4444

18.6 KB
Binary file not shown.
38.1 KB
Binary file not shown.

TFT_Gizmo_Candy_Hearts/candy_heart_ble/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
display = tft_gizmo.TFT_Gizmo()
2828

2929
# Load the candy heart BMP
30-
bitmap, palette = adafruit_imageload.load("/heart_bw.bmp",
30+
bitmap, palette = adafruit_imageload.load("/images/heart_bw.bmp",
3131
bitmap=displayio.Bitmap,
3232
palette=displayio.Palette)
3333

@@ -36,7 +36,7 @@
3636
# Set up message text
3737
LINE1_MAX = 9
3838
LINE2_MAX = 5
39-
font = bitmap_font.load_font("/Multicolore_36.bdf")
39+
font = bitmap_font.load_font("/fonts/Multicolore_36.bdf")
4040
line1 = label.Label(font, text="?"*LINE1_MAX)
4141
line2 = label.Label(font, text="?"*LINE2_MAX)
4242
line1.anchor_point = (0.5, 0) # middle top

TFT_Gizmo_Candy_Hearts/candy_hearts/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@
3434
display = tft_gizmo.TFT_Gizmo()
3535

3636
# Load the candy heart BMP
37-
bitmap, palette = adafruit_imageload.load("/heart_bw.bmp",
37+
bitmap, palette = adafruit_imageload.load("/images/heart_bw.bmp",
3838
bitmap=displayio.Bitmap,
3939
palette=displayio.Palette)
4040

4141
heart = displayio.TileGrid(bitmap, pixel_shader=palette)
4242

4343
# Set up message text
44-
font = bitmap_font.load_font("/Multicolore_36.bdf")
44+
font = bitmap_font.load_font("/fonts/Multicolore_36.bdf")
4545
line1 = label.Label(font, text="?"*9)
4646
line2 = label.Label(font, text="?"*5)
4747
line1.anchor_point = (0.5, 0) # middle top

0 commit comments

Comments
 (0)