#define TFT_DC 2
#define TFT_CS 15
#define Touch_CS 4
#define Touch_IRQ 5
#define SD_CS 9
///////////////////////////Pin outs lolin esp12E //////////
// D0-GPI016 Wake
// D1-GPIO5-->T-IRQ ILI9341
// D2-GPIO4-->T-CS ILI9341
// D3-GPIO0 Flash
// D4-GPIO2-->D/C ILI9341
// 3.3v
// Gnd ReSet ILI9341
// D5-GPIO14 |-->SCK ILI9341
// |-->T-ClK ILI9341
//
// D6-GPIO12 |-->MISO ILI9341
// |-->T-DO ILI9341
//
// D7-GPIO13 |-->MOSI ILI9341
// |-->T-DIN ILI9341
//
// D8-GPIO15-->CS ILI9341
// D9-GPI03 RX
// D10-GP01 TX
I have the 23S17 interfacing for other projects; but the TFT was tiresome and it was faster to get out the soldering iron than mess with the TFT library code.
Now the 23S17 is a nice way to expand the CS lines available but it has the price that often library code (ex TFT lbrary code) is written to bury the hardware interface into very very low level code and often creating dependencies that are tiresome to dig out making interfacing to extra hardware (23S17) non trivial. What you can interface in minutes with a soldering iron can take hours to interface with library software.