Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 1.51 KB

wiring-guide-generic-2.4-spi-pico.md

File metadata and controls

54 lines (42 loc) · 1.51 KB

Generic 2.4" & 2.8" Displays (Resistive Touch) Wiring Guide - Pico

Copyright 2021 Moddable Tech, Inc.
Revised: March 4, 2022

Specs

Size 2.4" & 2.8", 320 x 240
Type TFT LCD
Interface SPI
Drivers video ILI9341, touch XPT2046 (not supported yet)
Availability Generic SPI Displays on eBay
Description These inexpensive displays are available on eBay and other resources.

Note: They are available in touch and non-touch versions which appear very similar.

At this time Moddable sample code does not include display SD card support.

Moddable example code

The balls example is good for testing this display. To run a debug build, use the following build command:

cd $MODDABLE/examples/piu/balls
mcconfig -d -m -p pico/ili9341

ili9341 Module pinout

This is a typical layout of the ili9341 module.

Raspberry Pi Pico Pinout

ILI9341 Display Pico
VCC 3.3V
GND GND
CS GPIO 9
RESET GPIO 12
DC GPIO 7
SDI / MOSI GPIO 11
SCK GPIO 10
LED 3.3V