mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-07-20 21:27:54 -06:00
✨ Tronxy X5SA-500-2E (#545)
This commit is contained in:
parent
0d573034be
commit
973a10d2e2
6 changed files with 7155 additions and 17 deletions
|
@ -1828,7 +1828,7 @@
|
||||||
// see https://ee-programming-notepad.blogspot.com/2016/10/16-bit-color-generator-picker.html
|
// see https://ee-programming-notepad.blogspot.com/2016/10/16-bit-color-generator-picker.html
|
||||||
#define TFT_MARLINUI_COLOR COLOR_WHITE
|
#define TFT_MARLINUI_COLOR COLOR_WHITE
|
||||||
#define TFT_MARLINBG_COLOR COLOR_BLACK
|
#define TFT_MARLINBG_COLOR COLOR_BLACK
|
||||||
#define TFT_DISABLED_COLOR 0x10A2 // almost black
|
#define TFT_DISABLED_COLOR 0x10A2
|
||||||
#define TFT_BTCANCEL_COLOR COLOR_RED
|
#define TFT_BTCANCEL_COLOR COLOR_RED
|
||||||
#define TFT_BTARROWS_COLOR COLOR_WHITE
|
#define TFT_BTARROWS_COLOR COLOR_WHITE
|
||||||
#define TFT_BTOKMENU_COLOR COLOR_BLUE
|
#define TFT_BTOKMENU_COLOR COLOR_BLUE
|
||||||
|
|
|
@ -1818,7 +1818,7 @@
|
||||||
// see https://ee-programming-notepad.blogspot.com/2016/10/16-bit-color-generator-picker.html
|
// see https://ee-programming-notepad.blogspot.com/2016/10/16-bit-color-generator-picker.html
|
||||||
#define TFT_MARLINUI_COLOR COLOR_WHITE
|
#define TFT_MARLINUI_COLOR COLOR_WHITE
|
||||||
#define TFT_MARLINBG_COLOR COLOR_BLACK
|
#define TFT_MARLINBG_COLOR COLOR_BLACK
|
||||||
#define TFT_DISABLED_COLOR 0x10A2 // almost black
|
#define TFT_DISABLED_COLOR 0x10A2
|
||||||
#define TFT_BTCANCEL_COLOR COLOR_RED
|
#define TFT_BTCANCEL_COLOR COLOR_RED
|
||||||
#define TFT_BTARROWS_COLOR COLOR_WHITE
|
#define TFT_BTARROWS_COLOR COLOR_WHITE
|
||||||
#define TFT_BTOKMENU_COLOR COLOR_BLUE
|
#define TFT_BTOKMENU_COLOR COLOR_BLUE
|
||||||
|
|
2940
config/examples/Tronxy/X5SA-2E/Configuration.h
Normal file
2940
config/examples/Tronxy/X5SA-2E/Configuration.h
Normal file
File diff suppressed because it is too large
Load diff
4204
config/examples/Tronxy/X5SA-2E/Configuration_adv.h
Normal file
4204
config/examples/Tronxy/X5SA-2E/Configuration_adv.h
Normal file
File diff suppressed because it is too large
Load diff
|
@ -2788,16 +2788,6 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// 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_GREEN // enter button
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// RepRapWorld REPRAPWORLD_KEYPAD v1.1
|
// RepRapWorld REPRAPWORLD_KEYPAD v1.1
|
||||||
// https://reprapworld.com/products/electronics/ramps/keypad_v1_0_fully_assembled/
|
// https://reprapworld.com/products/electronics/ramps/keypad_v1_0_fully_assembled/
|
||||||
|
|
|
@ -1815,12 +1815,16 @@
|
||||||
// Classic UI Options
|
// Classic UI Options
|
||||||
//
|
//
|
||||||
#if TFT_SCALED_DOGLCD
|
#if TFT_SCALED_DOGLCD
|
||||||
//#define TFT_MARLINUI_COLOR 0xFFFF // White
|
// Change colors
|
||||||
//#define TFT_MARLINBG_COLOR 0x0000 // Black
|
// 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_DISABLED_COLOR 0x0003 // Almost black
|
//#define TFT_DISABLED_COLOR 0x0003 // Almost black
|
||||||
//#define TFT_BTCANCEL_COLOR 0xF800 // Red
|
#define TFT_BTCANCEL_COLOR COLOR_RED // cancel button
|
||||||
//#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
|
#define TFT_BTARROWS_COLOR COLOR_WHITE // arrows up/down
|
||||||
//#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
|
#define TFT_BTOKMENU_COLOR COLOR_GREEN // enter button
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue