Difference between revisions of "MCU - Display - TFT"
Jump to navigation
Jump to search
(Created page with "===ILI9341 SPI TFT LCD Display Touch Panel=== [https://www.banggood.com/2_8-Inch-ILI9341-240x320-SPI-TFT-LCD-Display-Touch-Panel-SPI-Serial-Port-Module-p-1206782.html 2.8 Inch...") |
|||
Line 5: | Line 5: | ||
[[File:TFT-1st Test.jpg|thumb|link=Special:FilePath/TFT-1st_Test.jpg]] | [[File:TFT-1st Test.jpg|thumb|link=Special:FilePath/TFT-1st_Test.jpg]] | ||
[[File:TFT-Testing.mp4|thumb|link=Special:FilePath/TFT-Testing.mp4]] | [[File:TFT-Testing.mp4|thumb|link=Special:FilePath/TFT-Testing.mp4]] | ||
+ | [[File:TFT-Tasmotized.jpg|thumb|link=Special:FilePath/TFT-Tasmotized.jpg]] | ||
+ | [[File:TFT-InaBox.jpg|thumb|link=Special:FilePath/TFT-InaBox.jpg]] | ||
====Pins==== | ====Pins==== |
Revision as of 17:53, 24 November 2020
ILI9341 SPI TFT LCD Display Touch Panel
2.8 Inch ILI9341 240x320 SPI TFT LCD Display Touch Panel SPI Serial Port Module
Pins
Nailbuster Examples | |||||
---|---|---|---|---|---|
Signal | NodeMCU | Actual | |||
T_IRQ | D1 | GPIO5 | |||
T_DO | D6 | GPIO12 | |||
T_DIN | D7 | GPIO13 | |||
T_CS | D2 | GPIO4 | |||
T_CLK | D5 | GPIO14 | |||
SDO(MISO) | D6 | GPIO12 | |||
LED | VCC | 3v3 | |||
SCK | D5 | GPIO14 | |||
SDI(MOSI) | D7 | GPIO13 | |||
DC | D4 | GPIO2 | |||
RESET | VCC | 3v3 | |||
CS | D8 | GPIO15 | |||
GND | GND | GND | |||
VCC | VCC | 3v3 |
(Why in hell do dev-board makers, & Arduino for that matter, think changing the actual GPIO numbers to some random shit was a good idea???)
Links
- 2.8″ TOUCH LCD SPI FOR ESP8266 (NODEMCU)
- Code seems to work...
- Interfacing ESP8266 NodeMCU with ILI9341 TFT display
- Code seems to work...
- Once you add
#include <Arduino.h>
and#include <SPI.h>
- Aside from tripping over the WDT... :(
- tft.fillRect() seems to kick the watchdog.
- testFilledCircles() kicks the watchdog instead of returning.
- SOLUTION: Add
ESP.wdtFeed();
immediately before most calls to the shitty Adafruit library functions.
- Once you add
- Code seems to work...