#define TFT_ILI9163C_CSpin Port7 // 7 // __CSpin // 53 // 10 // chip select #if ! defined(TFT_ILI9163C_DCpin) #define TFT_ILI9163C_DCpin Port8 //8 // A0 data/command pin. sometimes called DC, RS, ... #endif #if ! defined(TFT_ILI9163C__RSTpin) #define TFT_ILI9163C__RSTpin Port9 //9 //reset pin. you must connect. (or pullup) //#define __SDA 51 //11 //+ bidirectional data pin. Connect to MOSI //#define __SCK 52 //13 //+ clock. sometimes called SCLK, SCL, ... #endif //#define __22_RED_PCB__//240x320 #include #include #include #if defined(__144_RED_PCB__) // #error should be defined __22_RED_PCB__ only #endif