For the Pico Explorer Base I am looking for an instruction manual that covers all in and outs of this module. I am using a Pico W on the base explorer as the controller.
I like to know what I have to know/read. Is it MicroPython?
And if yes, where can I find how to control the 240x240 pixel display?
I have been on a Github page like pimoroni-pico/micropython/modules/picographics at main · pimoroni/pimoroni-pico · GitHub and I tried to execute single lines from the beginning on that page. Setting up done without errors. Then starting at Function reference. Now when I execute the line “my_pen = display.create_pen(r, g, b)” then an error like like “NameError: name ‘r’ isn’t defined” is popping up. Obviously I have done something wrong, because I have not found an instruction manual what to do step by step to avoid such errors.
I have done a published example with a BME280 (not a the break out version) sensor . That worked with succes, but that is not written by me.
Via the main page of the Pico Explorer Base (Pico Explorer Base) I did the “Getting started” but from that place, there is no real starting point, how to build step by step a program and then starting to make some basic graphics etc. to avoid as much errors as possible. I prefer an instructionmanual if there is any or a detailed guide etx.
I have loaded variant Raspberry Pi. Pico W (with pimoroni libraries) version 1.23.0-1
Thank you. Now I have some graphic and text on the display.
And I think that there is no specific manual for the pico explorer base except the relevant READ.ME chapters in the Github.
And if I am using the Pi Pico W then I suppose to get out of the way with Micropython (or others).
I am using Thonny. I can not find the default path when using filenames in a line like:
j.open_file(“filename.jpeg”)
and I used: j.open_file(“C:\Users\User\Pictures\pic.jpeg”)
jpegdec is included in our builds, but it won’t work with a path to a file that’s on your computer, you’ll need to upload the image to your Pico.
You can do that with Thonny - first make sure the ‘Files’ window is visible (View > Files if not). You can then navigate to the image file with the top window, right click on it and choose ‘upload to Pico’.
The bottom box shows you what files are stored on your Pico.
User-10 (continuing under the name Kees) thanks you!
I have learned from your explanation. The picture I wanted to show on the display was directly visible now with the BitBank’s JPEGDEC example published in the PICO Graphics manual at Github.