From 3b56bc1781b53a161648e57de652b9d3e2ae9409 Mon Sep 17 00:00:00 2001 From: thirdr Date: Thu, 4 Apr 2024 09:49:57 +0100 Subject: [PATCH] adjustment to scale and location --- micropython/examples/pico_display/display_png.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micropython/examples/pico_display/display_png.py b/micropython/examples/pico_display/display_png.py index 8fe685b2..b4d480a7 100644 --- a/micropython/examples/pico_display/display_png.py +++ b/micropython/examples/pico_display/display_png.py @@ -27,7 +27,7 @@ try: png.open_file("pencil.png") # Decode our PNG file and set the X and Y - png.decode(50, 100) + png.decode(20, 100, scale=3) # Handle the error if the image doesn't exist on the flash. except OSError: