//#include #include #define DEBUG_DISPLAY 0 // pin definition #define TFT_CS 14 #define TFT_DC 15 #define TFT_IPS true #define TFT_MISO -1 #define TFT_MOSI 6 #define TFT_RST 21 #define TFT_SCK 7 #define TFT_BKL 22 #define RGB_LED 8 // display dimensions ESP32-C6-LCD1.47 is portrait by default #define TFT_HEIGHT 320 #define TFT_WIDTH 172 #define TFT_COL_OFFSET 34 // offset needed due to organization of ST7789 VRAM #define TFT_ROW_OFFSET 0 // offset needed due to organization of ST7789 VRAM // set display rotation (needs to be 0 for offsets to be applied properly!) #define TFT_ROTATION 0 // backlight settings #define TFT_BKL_DUTY 50 void display_setup(); void display_help(); void display_home(); void display_key(byte hexKey[32]); void display_crypt_block(String str_to_print, uint16_t btn = 9); void display_decrypt_text(String str_to_print, uint16_t btn = 9);