This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Map XPT2046 input to ILI9341 320x240 raster */ | |
#include "SPI.h" | |
#include "Adafruit_GFX.h" | |
#include "Adafruit_ILI9341.h" | |
#include <XPT2046_Touchscreen.h> /* https://github.com/PaulStoffregen/XPT2046_Touchscreen */ | |
#define TFT_DC 27 | |
#define _sclk 25 | |
#define _mosi 32 /* 10K pull-up */ | |
#define _miso 39 |