Sample project: how to read png images from sdcard and display on LCD with raspberry pico-sdk with a minimum memory usage.
- Linux or Windows 10 PC with WSL (Windows Subsystem Linux) - Ubuntu is recommended;
- Visual Studio Code with the following Microsoft extensions:
- ms-vscode.cpptools-extension-pack;
- ms-vscode-remote.vscode-remote-extensionpack (if working with WSL);
- ms-vscode.vscode-serial-monitor.
- RaspberryPi Pico;
- 1.28inch_LCD_Module;
- MicroSD to SD card adapter (for easy soldering);
- MicroSD card;
- Some nice wires (30 AWG recommended);
- 2 x 10K resistors (for pull-up);
- 1 x 10uF capacitor (for decoupling);
Soon...
- Start a Linux terminal (on windows, just open the
command prompt
and typewsl
); - Install the build system, running the following command on terminal:
sudo apt update
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential libstdc++-arm-none-eabi-newlib
- Download the repository with it's dependencies:
git clone --recurse-submodules --shallow-submodules https://github.com/juliannojungle/pico-sdk-sdcard-lcd-png.git
- Open the project folder in vscode, click on the 'no kit selected' on status bar, select
GCC arm-none-eabi
build kit, then click onBuild
(right next to it);
*.uf2
file will be written at build
directory. Just copy it to the raspberry pico's usb drive.
@juliannojungle, 2023