pimoroni-pico/micropython/examples/inky_frame/image_gallery
Phil Howard 0f75a2839f Inky Frame: Include SDCard from micropython-lib. 2023-10-06 13:55:29 +01:00
..
600x448 Inky Frame: add more space images 2023-03-09 23:56:28 +00:00
640x400 Inky Frame: add more space images 2023-03-09 23:56:28 +00:00
800x480 Inky Frame: add more space images 2023-03-09 23:56:28 +00:00
README.md Inky Frame: Include SDCard from micropython-lib. 2023-10-06 13:55:29 +01:00
image_gallery.py Inky Frame: update image_gallery.py 2023-03-16 17:10:16 +00:00
image_gallery_sd.py update images, add new random image example 2023-03-13 16:56:28 +00:00
image_gallery_sd_random.py update images, add new random image example 2023-03-13 16:56:28 +00:00

README.md

Image Gallery

Some example programs to display images on your Inky Frame, plus sample images in different sizes.

Use: 640x400 for Inky Frame 4.0" 600x448 for Inky Frame 5.7" 800x480 for Inky Frame 7.3"

If you want to use your own images, they will need to be the correct dimensions for your screen and saved without progressive encoding.

Image transfer instructions

In all cases the images will need to be copied to the root of your Pico W or SD card.

Copy the images to your Pico W using Thonny.

Pop an SD card into your computer to copy the images across.

Alternatively, you can transfer them using Thonny, but you will have to mount the SD card using the REPL first:

import os
import sdcard
from machine import Pin
sd_spi = SPI(0, sck=Pin(18, Pin.OUT), mosi=Pin(19, Pin.OUT), miso=Pin(16, Pin.OUT))
sd = sdcard.SDCard(sd_spi, Pin(22))
os.mount(sd, "/sd")

Image Credits

Sample images from the Webb Space Telescope (credit: NASA, ESA, CSA, and STScI). Find more gorgeous images and info @ https://webbtelescope.org/

... and Raspberry Pi <3