Skip to content

Example code for using an ILI9341 SPI TFT Display with a Raspberry Pi Pico

License

Notifications You must be signed in to change notification settings

rprouse/ILI9341_PICO_DisplayExample

Repository files navigation

ILI9341 SPI TFT Display/Raspberry Pi Pico Example

Demonstration code for using a Raspberry Pi Pico with common TFT SPI boards.

Before building, you must fetch the git submodules.

git submodule init
git submodule update

TFT SPI 240x320 Display

I have it set up with the pin-out of the version that comes on a cheap Pico Breadboard Kit.

Pin SPI
6 SCK/CLK
7 MOSI/SDI/TX
4 MISO/SDO
13 CS
14 RST
15 DC

I used Vlad Tomoiagă's library. It requires LCD_setPins(15, 13, 14, 6, 7).

For LCD_setRotation assuming the top of the screen is the top of the board,

Value Result
0 Top is right side of board
1 Upside down
2 Top is left side of board
3 Rightside up

About

Example code for using an ILI9341 SPI TFT Display with a Raspberry Pi Pico

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published