Add 'Back' Button for Touch TFT 320x240 (#15060)

This commit is contained in:
Robby Candra 2019-08-29 13:19:07 +07:00 committed by Scott Lahteine
parent 8196ced2de
commit 38983fdfa9
229 changed files with 1486 additions and 225 deletions

View File

@ -2046,7 +2046,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -80,9 +80,10 @@ uint8_t XPT2046::read_buttons() {
if (y < 175 || y > 234) return 0; if (y < 175 || y > 234) return 0;
return WITHIN(x, 11, 109) ? EN_A return WITHIN(x, 14, 77) ? EN_D
: WITHIN(x, 111, 209) ? EN_B : WITHIN(x, 90, 153) ? EN_A
: WITHIN(x, 211, 309) ? EN_C : WITHIN(x, 166, 229) ? EN_B
: WITHIN(x, 242, 305) ? EN_C
: 0; : 0;
} }

View File

@ -91,6 +91,10 @@
#define COLOR_BLUE 0x21DD #define COLOR_BLUE 0x21DD
#define COLOR_RED 0xF800 #define COLOR_RED 0xF800
#define COLOR_DARK 0x0003 // Some dark color #define COLOR_DARK 0x0003 // Some dark color
#define COLOR_GREY 0x39E7
#define COLOR_YELLOW 0xEFC0
#define COLOR_ORANGE 0xFC00
#define COLOR_GREEN 0x77E0
#ifndef TFT_MARLINUI_COLOR #ifndef TFT_MARLINUI_COLOR
#define TFT_MARLINUI_COLOR COLOR_WHITE #define TFT_MARLINUI_COLOR COLOR_WHITE
@ -101,11 +105,14 @@
#ifndef TFT_DISABLED_COLOR #ifndef TFT_DISABLED_COLOR
#define TFT_DISABLED_COLOR COLOR_DARK #define TFT_DISABLED_COLOR COLOR_DARK
#endif #endif
#ifndef TFT_BTSLEFT_COLOR #ifndef TFT_BTCANCEL_COLOR
#define TFT_BTSLEFT_COLOR COLOR_BLUE #define TFT_BTCANCEL_COLOR COLOR_RED
#endif #endif
#ifndef TFT_BTRIGHT_COLOR #ifndef TFT_BTARROWS_COLOR
#define TFT_BTRIGHT_COLOR COLOR_RED #define TFT_BTARROWS_COLOR COLOR_BLUE
#endif
#ifndef TFT_BTOKMENU_COLOR
#define TFT_BTOKMENU_COLOR COLOR_RED
#endif #endif
static uint32_t lcd_id = 0; static uint32_t lcd_id = 0;
@ -142,22 +149,29 @@ static const uint8_t clear_screen_sequence[] = {
U8G_ESC_END U8G_ESC_END
}; };
static const uint8_t button0_sequence[] = { static const uint8_t buttonD_sequence[] = {
U8G_ESC_ADR(0), LCD_COLUMN, U8G_ESC_ADR(1), U8G_ESC_DATA(20), U8G_ESC_DATA(99), U8G_ESC_ADR(0), LCD_COLUMN, U8G_ESC_ADR(1), U8G_ESC_DATA(14), U8G_ESC_DATA(77),
U8G_ESC_ADR(0), LCD_ROW, U8G_ESC_ADR(1), U8G_ESC_DATA(185), U8G_ESC_DATA(224), U8G_ESC_ADR(0), LCD_ROW, U8G_ESC_ADR(1), U8G_ESC_DATA(185), U8G_ESC_DATA(224),
U8G_ESC_ADR(0), LCD_WRITE_RAM, U8G_ESC_ADR(1), U8G_ESC_ADR(0), LCD_WRITE_RAM, U8G_ESC_ADR(1),
U8G_ESC_END U8G_ESC_END
}; };
static const uint8_t button1_sequence[] = { static const uint8_t buttonA_sequence[] = {
U8G_ESC_ADR(0), LCD_COLUMN, U8G_ESC_ADR(1), U8G_ESC_DATA(120), U8G_ESC_DATA(199), U8G_ESC_ADR(0), LCD_COLUMN, U8G_ESC_ADR(1), U8G_ESC_DATA(90), U8G_ESC_DATA(153),
U8G_ESC_ADR(0), LCD_ROW, U8G_ESC_ADR(1), U8G_ESC_DATA(185), U8G_ESC_DATA(224), U8G_ESC_ADR(0), LCD_ROW, U8G_ESC_ADR(1), U8G_ESC_DATA(185), U8G_ESC_DATA(224),
U8G_ESC_ADR(0), LCD_WRITE_RAM, U8G_ESC_ADR(1), U8G_ESC_ADR(0), LCD_WRITE_RAM, U8G_ESC_ADR(1),
U8G_ESC_END U8G_ESC_END
}; };
static const uint8_t button2_sequence[] = { static const uint8_t buttonB_sequence[] = {
U8G_ESC_ADR(0), LCD_COLUMN, U8G_ESC_ADR(1), U8G_ESC_DATA(220), U8G_ESC_DATA(299), U8G_ESC_ADR(0), LCD_COLUMN, U8G_ESC_ADR(1), U8G_ESC_DATA(166), U8G_ESC_DATA(229),
U8G_ESC_ADR(0), LCD_ROW, U8G_ESC_ADR(1), U8G_ESC_DATA(185), U8G_ESC_DATA(224),
U8G_ESC_ADR(0), LCD_WRITE_RAM, U8G_ESC_ADR(1),
U8G_ESC_END
};
static const uint8_t buttonC_sequence[] = {
U8G_ESC_ADR(0), LCD_COLUMN, U8G_ESC_ADR(1), U8G_ESC_DATA(242), U8G_ESC_DATA(305),
U8G_ESC_ADR(0), LCD_ROW, U8G_ESC_ADR(1), U8G_ESC_DATA(185), U8G_ESC_DATA(224), U8G_ESC_ADR(0), LCD_ROW, U8G_ESC_ADR(1), U8G_ESC_DATA(185), U8G_ESC_DATA(224),
U8G_ESC_ADR(0), LCD_WRITE_RAM, U8G_ESC_ADR(1), U8G_ESC_ADR(0), LCD_WRITE_RAM, U8G_ESC_ADR(1),
U8G_ESC_END U8G_ESC_END
@ -214,77 +228,100 @@ static const uint8_t ili9341_init_sequence[] = { // 0x9341 - ILI9341
#if ENABLED(TOUCH_BUTTONS) #if ENABLED(TOUCH_BUTTONS)
static const uint8_t button0[] = { static const uint8_t buttonD[] = {
B01111111,B11111111,B11111111,B11111111,B11111110, B01111111,B11111111,B11111111,B11111110,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00010000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00010000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B01000000,B00010000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B11100000,B00010000,B00000000,B00000001, B10000000,B00011000,B00110000,B00000001,
B10000001,B11110000,B00010000,B00000000,B00000001, B10000000,B00001100,B01100000,B00000001,
B10000011,B11111000,B00010000,B00000000,B00000001, B10000000,B00000110,B11000000,B00000001,
B10000111,B11111100,B00010000,B11111111,B11100001, B10000000,B00000011,B10000000,B00000001,
B10000000,B11100000,B00010000,B11111111,B11100001, B10000000,B00000011,B10000000,B00000001,
B10000000,B11100000,B00010000,B00000000,B00000001, B10000000,B00000110,B11000000,B00000001,
B10000000,B11100000,B00010000,B00000000,B00000001, B10000000,B00001100,B01100000,B00000001,
B10000000,B11100000,B00010000,B00000000,B00000001, B10000000,B00011000,B00110000,B00000001,
B10000000,B11100000,B00010000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00010000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00010000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B01111111,B11111111,B11111111,B11111111,B11111110, B01111111,B11111111,B11111111,B11111110,
}; };
static const uint8_t button1[] = { static const uint8_t buttonA[] = {
B01111111,B11111111,B11111111,B11111111,B11111110, B01111111,B11111111,B11111111,B11111110,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00010000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00010000,B00000110,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B11100000,B00010000,B00000110,B00000001, B10000000,B01000000,B00000000,B00000001,
B10000000,B11100000,B00010000,B00000110,B00000001, B10000000,B11100000,B00000000,B00000001,
B10000000,B11100000,B00010000,B00000110,B00000001, B10000001,B11110000,B00000000,B00000001,
B10000000,B11100000,B00010000,B00000110,B00000001, B10000011,B11111000,B00000000,B00000001,
B10000000,B11100000,B00010000,B11111111,B11110001, B10000111,B11111100,B00111111,B11100001,
B10000111,B11111100,B00010000,B11111111,B11110001, B10000000,B11100000,B00111111,B11100001,
B10000011,B11111000,B00010000,B00000110,B00000001, B10000000,B11100000,B00000000,B00000001,
B10000001,B11110000,B00010000,B00000110,B00000001, B10000000,B11100000,B00000000,B00000001,
B10000000,B11100000,B00010000,B00000110,B00000001, B10000000,B11100000,B00000000,B00000001,
B10000000,B01000000,B00010000,B00000110,B00000001, B10000000,B11100000,B00000000,B00000001,
B10000000,B00000000,B00010000,B00000110,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00010000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B01111111,B11111111,B11111111,B11111111,B11111110, B01111111,B11111111,B11111111,B11111110,
}; };
static const uint8_t button2[] = { static const uint8_t buttonB[] = {
B01111111,B11111111,B11111111,B11111111,B11111110, B01111111,B11111111,B11111111,B11111110,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B01100000,B00000111,B00000001,
B10000000,B00000000,B00000001,B11000000,B00000001, B10000000,B01100000,B00000111,B00000001,
B10000000,B00000000,B01000001,B11000000,B00000001, B10000000,B01100000,B00000111,B00000001,
B10000000,B00000000,B11000001,B11000000,B00000001, B10000000,B01100000,B00000111,B00000001,
B10000000,B00000001,B11111111,B11000000,B00000001, B10000111,B11111110,B00000111,B00000001,
B10000000,B00000011,B11111111,B11000000,B00000001, B10000111,B11111110,B00111111,B11100001,
B10000000,B00000001,B11111111,B11000000,B00000001, B10000000,B01100000,B00011111,B11000001,
B10000000,B00000000,B11000000,B00000000,B00000001, B10000000,B01100000,B00001111,B10000001,
B10000000,B00000000,B01000000,B00000000,B00000001, B10000000,B01100000,B00000111,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B01100000,B00000010,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000000,B00000001, B10000000,B00000000,B00000000,B00000001,
B01111111,B11111111,B11111111,B11111111,B11111110, B01111111,B11111111,B11111111,B11111110,
};
static const uint8_t buttonC[] = {
B01111111,B11111111,B11111111,B11111110,
B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00011100,B00000001,
B10000000,B00000100,B00011100,B00000001,
B10000000,B00001100,B00011100,B00000001,
B10000000,B00011111,B11111100,B00000001,
B10000000,B00111111,B11111100,B00000001,
B10000000,B00011111,B11111100,B00000001,
B10000000,B00001100,B00000000,B00000001,
B10000000,B00000100,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000001,
B10000000,B00000000,B00000000,B00000001,
B01111111,B11111111,B11111111,B11111110,
}; };
void drawImage(const uint8_t *data, u8g_t *u8g, u8g_dev_t *dev, uint16_t length, uint16_t height, uint16_t color) { void drawImage(const uint8_t *data, u8g_t *u8g, u8g_dev_t *dev, uint16_t length, uint16_t height, uint16_t color) {
uint16_t buffer[160]; uint16_t buffer[128];
for (uint16_t i = 0; i < height; i++) { for (uint16_t i = 0; i < height; i++) {
uint16_t k = 0; uint16_t k = 0;
@ -333,7 +370,7 @@ uint8_t u8g_dev_tft_320x240_upscale_from_128x64_fn(u8g_t *u8g, u8g_dev_t *dev, u
uint16_t* buffer = &bufferA[0]; uint16_t* buffer = &bufferA[0];
bool allow_async = true; bool allow_async = true;
#else #else
uint16_t buffer[256]; // 16-bit RGB 565 pixel line buffer uint16_t buffer[WIDTH*2]; // 16-bit RGB 565 pixel line buffer
#endif #endif
switch (msg) { switch (msg) {
case U8G_DEV_MSG_INIT: case U8G_DEV_MSG_INIT:
@ -351,6 +388,7 @@ uint8_t u8g_dev_tft_320x240_upscale_from_128x64_fn(u8g_t *u8g, u8g_dev_t *dev, u
return u8g_dev_pb8v1_base_fn(u8g, dev, msg, arg); return u8g_dev_pb8v1_base_fn(u8g, dev, msg, arg);
} }
// Clear Screen Sequence
u8g_WriteEscSeqP(u8g, dev, clear_screen_sequence); u8g_WriteEscSeqP(u8g, dev, clear_screen_sequence);
#ifdef LCD_USE_DMA_FSMC #ifdef LCD_USE_DMA_FSMC
LCD_IO_WriteMultiple(TFT_MARLINBG_COLOR, (320*240)); LCD_IO_WriteMultiple(TFT_MARLINBG_COLOR, (320*240));
@ -378,15 +416,17 @@ uint8_t u8g_dev_tft_320x240_upscale_from_128x64_fn(u8g_t *u8g, u8g_dev_t *dev, u
u8g_WriteSequence(u8g, dev, 150, (uint8_t *)buffer); u8g_WriteSequence(u8g, dev, 150, (uint8_t *)buffer);
#endif #endif
u8g_WriteEscSeqP(u8g, dev, button0_sequence); u8g_WriteEscSeqP(u8g, dev, buttonD_sequence);
drawImage(button0, u8g, dev, 40, 20, TFT_BTSLEFT_COLOR); drawImage(buttonD, u8g, dev, 32, 20, TFT_BTCANCEL_COLOR);
u8g_WriteEscSeqP(u8g, dev, button1_sequence); u8g_WriteEscSeqP(u8g, dev, buttonA_sequence);
drawImage(button1, u8g, dev, 40, 20, TFT_BTSLEFT_COLOR); drawImage(buttonA, u8g, dev, 32, 20, TFT_BTARROWS_COLOR);
u8g_WriteEscSeqP(u8g, dev, button2_sequence); u8g_WriteEscSeqP(u8g, dev, buttonB_sequence);
drawImage(button2, u8g, dev, 40, 20, TFT_BTRIGHT_COLOR); drawImage(buttonB, u8g, dev, 32, 20, TFT_BTARROWS_COLOR);
u8g_WriteEscSeqP(u8g, dev, buttonC_sequence);
drawImage(buttonC, u8g, dev, 32, 20, TFT_BTOKMENU_COLOR);
#endif // TOUCH_BUTTONS #endif // TOUCH_BUTTONS
return 0; return 0;
@ -399,9 +439,9 @@ uint8_t u8g_dev_tft_320x240_upscale_from_128x64_fn(u8g_t *u8g, u8g_dev_t *dev, u
break; break;
case U8G_DEV_MSG_PAGE_NEXT: case U8G_DEV_MSG_PAGE_NEXT:
if (++page > 8) return 1; if (++page > (HEIGHT / PAGE_HEIGHT)) return 1;
for (uint8_t y = 0; y < 8; y++) { for (uint8_t y = 0; y < PAGE_HEIGHT; y++) {
uint32_t k = 0; uint32_t k = 0;
#ifdef LCD_USE_DMA_FSMC #ifdef LCD_USE_DMA_FSMC
buffer = (y & 1) ? bufferB : bufferA; buffer = (y & 1) ? bufferB : bufferA;
@ -423,11 +463,12 @@ uint8_t u8g_dev_tft_320x240_upscale_from_128x64_fn(u8g_t *u8g, u8g_dev_t *dev, u
else else
LCD_IO_WriteSequence(buffer, 512); LCD_IO_WriteSequence(buffer, 512);
#else #else
uint8_t* bufptr = (uint8_t*) buffer;
for (uint8_t i = 2; i--;) { for (uint8_t i = 2; i--;) {
u8g_WriteSequence(u8g, dev, 128, (uint8_t*)buffer); u8g_WriteSequence(u8g, dev, WIDTH, &bufptr[0]);
u8g_WriteSequence(u8g, dev, 128, (uint8_t*)&(buffer[64])); u8g_WriteSequence(u8g, dev, WIDTH, &bufptr[WIDTH]);
u8g_WriteSequence(u8g, dev, 128, (uint8_t*)&(buffer[128])); u8g_WriteSequence(u8g, dev, WIDTH, &bufptr[WIDTH*2]);
u8g_WriteSequence(u8g, dev, 128, (uint8_t*)&(buffer[192])); u8g_WriteSequence(u8g, dev, WIDTH, &bufptr[WIDTH*3]);
} }
#endif #endif
} }

View File

@ -804,7 +804,7 @@ void MarlinUI::update() {
} }
else wait_for_unclick = false; else wait_for_unclick = false;
#if HAS_DIGITAL_BUTTONS && BUTTON_EXISTS(BACK) #if HAS_DIGITAL_BUTTONS && (BUTTON_EXISTS(BACK) || ENABLED(TOUCH_BUTTONS))
if (LCD_BACK_CLICKED()) { if (LCD_BACK_CLICKED()) {
quick_feedback(); quick_feedback();
goto_previous_screen(); goto_previous_screen();
@ -885,6 +885,11 @@ void MarlinUI::update() {
#if ENABLED(TOUCH_BUTTONS) #if ENABLED(TOUCH_BUTTONS)
touch_buttons = read_touch_buttons(); touch_buttons = read_touch_buttons();
if (touch_buttons) {
#if HAS_LCD_MENU && LCD_TIMEOUT_TO_STATUS
return_to_status_ms = ms + LCD_TIMEOUT_TO_STATUS;
#endif
}
#endif #endif
#if ENABLED(REPRAPWORLD_KEYPAD) #if ENABLED(REPRAPWORLD_KEYPAD)

View File

@ -215,7 +215,7 @@
#endif #endif
#if BUTTON_EXISTS(BACK) #if BUTTON_EXISTS(BACK) || ENABLED(TOUCH_BUTTONS)
#define BLEN_D 3 #define BLEN_D 3
#define EN_D _BV(BLEN_D) #define EN_D _BV(BLEN_D)
#define LCD_BACK_CLICKED() (buttons & EN_D) #define LCD_BACK_CLICKED() (buttons & EN_D)

View File

@ -2049,7 +2049,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2080,7 +2080,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2050,7 +2050,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1200,6 +1200,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2050,7 +2050,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2069,7 +2069,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -98,16 +98,6 @@
//#define TS_V11 //#define TS_V11
//#define TS_V12 //#define TS_V12
// 4 - If you want to tune the UI colors, define custom ones here. RGB 16 bits 5-6-5 format
// see https://ee-programming-notepad.blogspot.com/2016/10/16-bit-color-generator-picker.html
//#define TFT_MARLINUI_COLOR 0xFFFF // White
//#define TFT_MARLINBG_COLOR 0x0000 // Black
//#define TFT_TOPICONS_COLOR 0x21DD // Blue
//#define TFT_DISABLED_COLOR 0x0003 // Almost black
//#define TFT_BTSLEFT_COLOR 0xDEE6 // 11011 110111 00110 Yellow
//#define TFT_BTRIGHT_COLOR 0x145F // 00010 100010 11111 Cyan
//=========================================================================== //===========================================================================
// @section info // @section info
@ -2139,7 +2129,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
#define FSMC_GRAPHICAL_TFT #define FSMC_GRAPHICAL_TFT

View File

@ -1217,6 +1217,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2049,7 +2049,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -2060,7 +2060,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2051,7 +2051,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2051,7 +2051,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2202,7 +2202,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2064,7 +2064,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2060,7 +2060,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2061,7 +2061,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2059,7 +2059,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2050,7 +2050,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1218,6 +1218,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2049,7 +2049,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -2049,7 +2049,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2049,7 +2049,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2037,7 +2037,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2049,7 +2049,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1222,6 +1222,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2037,7 +2037,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2048,7 +2048,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2059,7 +2059,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2050,7 +2050,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2052,7 +2052,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2068,7 +2068,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2052,7 +2052,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2052,7 +2052,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2059,7 +2059,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2053,7 +2053,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2053,7 +2053,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2059,7 +2059,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2052,7 +2052,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2049,7 +2049,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2054,7 +2054,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2059,7 +2059,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2054,7 +2054,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2055,7 +2055,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2054,7 +2054,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1213,6 +1213,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2037,7 +2037,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1213,6 +1213,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2054,7 +2054,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1213,6 +1213,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2051,7 +2051,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1200,6 +1200,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2031,7 +2031,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2031,7 +2031,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -2040,7 +2040,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1213,6 +1213,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2055,7 +2055,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2154,7 +2154,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

View File

@ -1214,6 +1214,18 @@
//#define TOUCH_UI_PASSCODE //#define TOUCH_UI_PASSCODE
#endif #endif
//
// FSMC Graphical TFT
//
#if ENABLED(FSMC_GRAPHICAL_TFT)
//#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
// @section safety // @section safety
/** /**

View File

@ -2083,7 +2083,7 @@
//============================================================================= //=============================================================================
// //
// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.) // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
// //
//#define FSMC_GRAPHICAL_TFT //#define FSMC_GRAPHICAL_TFT

Some files were not shown because too many files have changed in this diff Show More