Skip to content

Commit 8fb17a3

Browse files
committed
adjustment to scale and location
1 parent 4db7cc6 commit 8fb17a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micropython/examples/pico_display/display_png.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
png.open_file("pencil.png")
2828

2929
# Decode our PNG file and set the X and Y
30-
png.decode(50, 100)
30+
png.decode(20, 100, scale=3)
3131

3232
# Handle the error if the image doesn't exist on the flash.
3333
except OSError:

0 commit comments

Comments
 (0)