| 1234567891011121314151617181920212223242526 |
- #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 <SPI.h>
- #include <Adafruit_GFX.h>
- #include <TFT_ILI9163C.h>
- #if defined(__144_RED_PCB__)
- // #error should be defined __22_RED_PCB__ only
- #endif
|