for use with WAVESHARE RP2040-LCD-1.28
- You need to execute: If the directory already exists, you can go directly. If there is no build directory, execute
mkdir build
- Enter the build directory and type in the terminal:
cd build
export PICO_SDK_PATH=<pico sdk path>
- Execute cmake, automatically generate Makefile file, enter in the terminal:
cmake ..
- Execute make to generate an executable file, and enter in the terminal:
make
- Copy the compiled uf2 file to pico
- I2C_SDA -> 6
- I2C_SDA -> 7
- DC -> 8
- CS -> 9
- SCK -> 10
- DIN -> 11
- RST -> 12
- BL -> 25
- BAT_ADC -> 29