# Image From SD Card Display a JPEG image from an SD card on Soldered Inkplate 10 using LVGL. ## Overview Initialises the SD card, loads `cat.jpg` from the root directory using the LVGL SD filesystem driver (registered automatically by the Inkplate constructor), displays it, then puts the SD card to sleep for power saving. ## Hardware Required - Soldered Inkplate 10 - USB cable - microSD card with `cat.jpg` in the root directory (FAT formatted) ## Setup Run `idf.py menuconfig` and navigate to: **Inkplate Boards → Inkplate10** Copy `cat.jpg` to the root of a FAT-formatted microSD card and insert it into the Inkplate 10. ## Build and Flash ``` idf.py build idf.py -p PORT flash monitor ``` ## Expected Output The cat image loaded from SD card and shown on the display. ## Notes - SD filesystem path prefix is `S:/` (e.g. `"S:/cat.jpg"`). - `display.enableDithering(true)` improves image quality on the e-paper panel. - `display.sdCardSleep()` powers down the SD card after use. - `lv_refr_now()` renders the LVGL scene into the framebuffer. - `display.display()` must be called to update the physical e-paper panel. ## Resources - Docs: https://docs.soldered.com/inkplate - Support: https://forum.soldered.com/ - Image tool: https://tools.soldered.com/tools/image-converter/
To create a project from this example, run:
idf.py create-project-from-example "solderedelectronics/inkplate_lvgl=1.1.1:inkplate10/advanced/sd/image_from_sd"