acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

Setup206_LilyGo_T_Display_S3.h (865B)

      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_DC 7
     21 #define TFT_RST 5
     22 
     23 #define TFT_WR 8
     24 #define TFT_RD 9
     25 
     26 #define TFT_D0 39
     27 #define TFT_D1 40
     28 #define TFT_D2 41
     29 #define TFT_D3 42
     30 #define TFT_D4 45
     31 #define TFT_D5 46
     32 #define TFT_D6 47
     33 #define TFT_D7 48
     34 
     35 #define TFT_BL 38
     36 #define TFT_BACKLIGHT_ON HIGH
     37 
     38 #define LOAD_GLCD
     39 #define LOAD_FONT2
     40 #define LOAD_FONT4
     41 #define LOAD_FONT6
     42 #define LOAD_FONT7
     43 #define LOAD_FONT8
     44 #define LOAD_GFXFF
     45 
     46 #define SMOOTH_FONT