//tt #include <ILI9341_t3n.h>
#include <ILI9341_t3.h>
#if defined(__IMXRT1052__) || defined(__IMXRT1062__)
// On Teensy 4 beta with Paul's breakout out:
// Using pins (MOSI, MISO, SCK which are labeled on Audio board breakout location
// which are not in the Normal processor positions
// Also DC=10(CS), CS=9(MEMCS) and RST 23(MCLK) TOUCH_CS=21(BCLK)
#define TFT_RST 255 // tt 23
#define TFT_DC 9 // tt 10
#define TFT_CS 10 // tt 9
#define TFT_SCK 13
#define TFT_MISO 12
#define TFT_MOSI 11
#define TOUCH_CS 18 // tt 21
#endif
[B]XPT2046_Touchscreen ts(TOUCH_CS, 19); // tirq 19[/B]
// tt ILI9341_t3n tft = ILI9341_t3n(TFT_CS, TFT_DC, TFT_RST, TFT_MOSI, TFT_SCK, TFT_MISO);
[B]ILI9341_t3 tft = ILI9341_t3(TFT_CS, TFT_DC, TFT_RST, TFT_MOSI, TFT_SCK, TFT_MISO);[/B]