Skip to content

Commit d790d3d

Browse files
committed
fixed background colour
1 parent ba7b838 commit d790d3d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

micropython/examples/pico_display/display_png_offset_palette.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
for i in range(16):
2626
display.create_pen(0, 0, i * 16)
2727

28+
# Adding in an white background colour at the beginning of each offset.
29+
for i in range(3):
30+
display.update_pen(i * 16, 200, 200, 200)
31+
2832
# Clear the screen
2933
display.set_pen(BG)
3034
display.clear()

0 commit comments

Comments
 (0)