forked from arcbtc/fossa
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make it more obvious what and how to configure
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ PCB/Fossa PCB-backups | |
PCB/Gerbers | ||
build | ||
.venv | ||
.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#define USER_SETUP_LOADED | ||
|
||
//#define ILI9341_DRIVER | ||
#define ST7796_DRIVER | ||
#define TFT_WIDTH 480 | ||
#define TFT_HEIGHT 320 | ||
#define TFT_BACKLIGHT_ON HIGH | ||
#define USE_HSPI_PORT | ||
#define TFT_MISO 12 | ||
#define TFT_MOSI 13 | ||
#define TFT_SCLK 14 | ||
#define TFT_CS 15 | ||
#define TFT_DC 21 | ||
#define TFT_RST 22 | ||
#define TFT_BL 23 | ||
#define LOAD_GLCD | ||
#define LOAD_FONT2 | ||
#define LOAD_FONT4 | ||
#define LOAD_FONT6 | ||
#define LOAD_FONT7 | ||
#define LOAD_FONT8 | ||
#define LOAD_GFXFF | ||
#define SMOOTH_FONT | ||
#define SPI_FREQUENCY 27000000 | ||
#define SPI_READ_FREQUENCY 20000000 |