acidportal

- 😈 Worlds smallest Evil Portal on a LilyGo T-QT
git clone git://git.acid.vegas/acidportal.git
Log | Files | Refs | Archive | README | LICENSE

Setup206_LilyGo_T_Display_S3.h (884B)

      1 // ST7789 using 8-bit Parallel
      2 
      3 #define USER_SETUP_ID 206
      4 
      5 #define ST7789_DRIVER
      6 #define INIT_SEQUENCE_3 // Using this initialisation sequence improves the display image
      7 
      8 #define CGRAM_OFFSET
      9 #define TFT_RGB_ORDER TFT_RGB  // Colour order Red-Green-Blue
     10 //#define TFT_RGB_ORDER TFT_BGR // Colour order Blue-Green-Red
     11 
     12 #define TFT_INVERSION_ON
     13 // #define TFT_INVERSION_OFF
     14 
     15 #define TFT_PARALLEL_8_BIT
     16 
     17 #define TFT_WIDTH 170
     18 #define TFT_HEIGHT 320
     19 
     20 #define TFT_CS  6
     21 #define TFT_DC  7
     22 #define TFT_RST 5
     23 
     24 #define TFT_WR 8
     25 #define TFT_RD 9
     26 
     27 #define TFT_D0 39
     28 #define TFT_D1 40
     29 #define TFT_D2 41
     30 #define TFT_D3 42
     31 #define TFT_D4 45
     32 #define TFT_D5 46
     33 #define TFT_D6 47
     34 #define TFT_D7 48
     35 
     36 #define TFT_BL 38
     37 #define TFT_BACKLIGHT_ON HIGH
     38 
     39 #define LOAD_GLCD
     40 #define LOAD_FONT2
     41 #define LOAD_FONT4
     42 #define LOAD_FONT6
     43 #define LOAD_FONT7
     44 #define LOAD_FONT8
     45 #define LOAD_GFXFF
     46 
     47 #define SMOOTH_FONT