code cleanup
This commit is contained in:
1 parent
c0b7ec194b
commit
216cdc56a7
5 files changed
+144
-33
No files matched your search
@@ -1,30 +1,9 @@
|
||||
//#include <U8g2lib.h>
|
||||
#include <Arduino_GFX_Library.h>
|
||||
|
||||
#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
|
||||
/*
|
||||
* AES256 Seed Phrase Encryptor
|
||||
*
|
||||
* Copyright (C) 2026 SCHAUAUS GmbH
|
||||
*
|
||||
*/
|
||||
|
||||
void display_setup();
|
||||
void display_help();
|
||||
|
||||
Reference in new issue
Block a user