Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rprouse/ili9341_pico_displayexample
Example code for using an ILI9341 SPI TFT Display with a Raspberry Pi Pico
https://github.com/rprouse/ili9341_pico_displayexample
ili9341 pi-pico pico raspberry-pi-pico spi-tft
Last synced: about 1 month ago
JSON representation
Example code for using an ILI9341 SPI TFT Display with a Raspberry Pi Pico
- Host: GitHub
- URL: https://github.com/rprouse/ili9341_pico_displayexample
- Owner: rprouse
- License: mit
- Created: 2023-11-18T04:25:24.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-20T03:23:29.000Z (about 1 year ago)
- Last Synced: 2024-10-15T23:50:55.675Z (3 months ago)
- Topics: ili9341, pi-pico, pico, raspberry-pi-pico, spi-tft
- Language: CMake
- Homepage:
- Size: 94.7 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```sh
git submodule init
git submodule update
```![TFT SPI 240x320 Display](./imgs/tft_spi_display.jpg)
I have it set up with the pin-out of the version that comes on a cheap
[Pico Breadboard Kit](https://github.com/geeekpi/picoBDK).| Pin | SPI |
| --- | ----------- |
| 6 | SCK/CLK |
| 7 | MOSI/SDI/TX |
| 4 | MISO/SDO |
| 13 | CS |
| 14 | RST |
| 15 | DC |I used Vlad Tomoiagă's [library](https://github.com/tvlad1234/pico-displayDrivs). 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 |