How do I know which UF FIle to use

I hve about 10 UF2 files. How do I know which to use for LCD GFX screen?

What model Pico is it, and what screen?

Its a Raspberry Pi Pico H plugged in to a Pimoroni LCD GFX. Whenever I try to run any of the software for this I get an error. I think its because I need the right UF2 file on the board but I really don’t know. Any help gratefully appreciated.

If you’re using a Pico you’ll need to download pico-vx.xx.x-x-pimoroni-micropython.uf2 from the link below:

Here’s a direct download link to the correct image and some instructions for how to install it :)

1 Like

Nice one thank you. Most appreciative of your help.

Now you have my poor 80 year old brain in a total muddle. I went to pimoroni/pimoroni/pico and ended up with a page on github. Nowhere is there any reference to UF* files. Could you explain this for me? PLEASE!

sorry that was pimoroni.pico

You need to scroll down a bit on the Github page, the .uf2 files are under the ‘Assets’ section.

(or you could use the direct link I posted above?)

If you’re new to Pico, perhaps our ‘Getting Started with Raspberry Pi Pico’ guide might be helpful?

I think I’m going to have a nervous breakdown. No matter what UF file I use I get an error when I “import gfxhat”.

Is Thonny setup to use the correct interpreter?
Lower left corner, MicroPython (Raspberry Pi Pico)
And is it connected to said Pico via the correct com port?

When you click the white square surrounded by the red circle the software being used is displayed in the text box in the bottom left hand corner. This contains “Micropython v1.23.0. pico v1.23.01 on 2024-06-06: Raspberry Pi Pico with RP2040”

Ok, that looks to be correct. It’s what I see with my Pico plugged in.
MicroPython v1.23.0, pico v1.23.0-1 on 2024-06-06; Raspberry Pi Pico with RP2040
I don’t have the gfx Pack but I ran the balls demo anyway.
pimoroni-pico/micropython/examples/gfx_pack/balls_demo.py at main ¡ pimoroni/pimoroni-pico ¡ GitHub

It ran without any error messages.

Are you looking at the correct examples for Pico GFX Pack?

(you mention import gfxhat earlier - the GFX HAT repo contains examples for use with Raspberry Pi computers, not Pico).

1 Like