mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-07-23 22:54:11 -06:00
Update broken TFT Configurations (#288)
This commit is contained in:
parent
6f2ac1a555
commit
2db44102bb
3 changed files with 12 additions and 25 deletions
|
@ -1571,23 +1571,12 @@
|
|||
// Classic UI Options
|
||||
//
|
||||
#if TFT_SCALED_DOGLCD
|
||||
//
|
||||
// FSMC_UPSCALE 2 2x upscaler for 320x240 displays (default)
|
||||
// FSMC_UPSCALE 3 3x upscaler for 480x320 displays
|
||||
//
|
||||
#define FSMC_UPSCALE 3
|
||||
|
||||
//
|
||||
// Change colors
|
||||
// some colors are predefined, see /src/lcd/dogm/u8g_dev_tft_480~.cpp Line 160
|
||||
// or use 16bit color (e.g. 0x0000 = black, 0xFFE0 = yellow)
|
||||
// see https://ee-programming-notepad.blogspot.com/2016/10/16-bit-color-generator-picker.html
|
||||
//
|
||||
#define TFT_MARLINUI_COLOR COLOR_WHITE // Main foreground color
|
||||
#define TFT_MARLINBG_COLOR COLOR_BLACK // Background color
|
||||
#define TFT_BTCANCEL_COLOR COLOR_RED // Cancel button
|
||||
#define TFT_BTARROWS_COLOR COLOR_WHITE // Arrows up/down
|
||||
#define TFT_BTOKMENU_COLOR COLOR_NAVY // Enter button
|
||||
//#define TFT_MARLINUI_COLOR 0xFFFF // White
|
||||
//#define TFT_MARLINBG_COLOR 0x0000 // Black
|
||||
//#define TFT_DISABLED_COLOR 0x0003 // Almost black
|
||||
//#define TFT_BTCANCEL_COLOR 0xF800 // Red
|
||||
//#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
|
||||
//#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
|
||||
#endif
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue