Copyright 2018 Moddable Tech, Inc.
Revised: October 23, 2018
| Size | 2.4" & 2.8", 320 x 240 |
| Type | TFT LCD |
| Interface | SPI |
| Drivers | video ILI9341, touch XPT2046 |
| 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.
The drag example is good for testing this display. To run a debug build, use the following build command:
cd $MODDABLE/examples/piu/drag
mcconfig -d -m -p esp/moddable_zero
| ILI9341 Display | ESP8266 | ESP8266 Devboard label |
|---|---|---|
| SDO / MISO | GPIO 12 | (D6) |
| LED | 3.3V | |
| SCK | GPIO 14 | (D5) |
| SDI / MOSI | GPIO 13 | (D7) |
| CS | GPIO 15 | (D8) |
| DC | GPIO 2 | (D4) |
| RESET | 3.3V | |
| GND | GND | |
| VCC | 3.3V | |
| T_DO | GPIO 12 | (D6) |
| T_DIn | GPIO 13 | (D7) |
| T_CLK | GPIO 14 | (D5) |
| T_IRQ | GPIO 16 | (D0) |
| T_CS | GPIO 0 | (D3) |

