Procházet zdrojové kódy

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

Robby Candra před 4 roky
rodič
revize
38983fdfa9
100 změnil soubory, kde provedl 740 přidání a 151 odebrání
  1. 1
    1
      Marlin/Configuration.h
  2. 12
    0
      Marlin/Configuration_adv.h
  3. 4
    3
      Marlin/src/feature/touch/xpt2046.cpp
  4. 128
    87
      Marlin/src/lcd/dogm/u8g_dev_tft_320x240_upscale_from_128x64.cpp
  5. 6
    1
      Marlin/src/lcd/ultralcd.cpp
  6. 1
    1
      Marlin/src/lcd/ultralcd.h
  7. 1
    1
      config/default/Configuration.h
  8. 12
    0
      config/default/Configuration_adv.h
  9. 1
    1
      config/examples/3DFabXYZ/Migbot/Configuration.h
  10. 12
    0
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  11. 1
    1
      config/examples/ADIMLab/Gantry v1/Configuration.h
  12. 12
    0
      config/examples/ADIMLab/Gantry v1/Configuration_adv.h
  13. 1
    1
      config/examples/ADIMLab/Gantry v2/Configuration.h
  14. 12
    0
      config/examples/ADIMLab/Gantry v2/Configuration_adv.h
  15. 1
    1
      config/examples/AlephObjects/TAZ4/Configuration.h
  16. 12
    0
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  17. 1
    11
      config/examples/Alfawise/U20/Configuration.h
  18. 12
    0
      config/examples/Alfawise/U20/Configuration_adv.h
  19. 1
    1
      config/examples/AliExpress/CL-260/Configuration.h
  20. 1
    1
      config/examples/AliExpress/UM2pExt/Configuration.h
  21. 12
    0
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  22. 1
    1
      config/examples/Anet/A2/Configuration.h
  23. 12
    0
      config/examples/Anet/A2/Configuration_adv.h
  24. 1
    1
      config/examples/Anet/A2plus/Configuration.h
  25. 12
    0
      config/examples/Anet/A2plus/Configuration_adv.h
  26. 1
    1
      config/examples/Anet/A6/Configuration.h
  27. 12
    0
      config/examples/Anet/A6/Configuration_adv.h
  28. 1
    1
      config/examples/Anet/A8/Configuration.h
  29. 12
    0
      config/examples/Anet/A8/Configuration_adv.h
  30. 1
    1
      config/examples/Anet/A8plus/Configuration.h
  31. 12
    0
      config/examples/Anet/A8plus/Configuration_adv.h
  32. 1
    1
      config/examples/Anet/E16/Configuration.h
  33. 12
    0
      config/examples/Anet/E16/Configuration_adv.h
  34. 1
    1
      config/examples/AnyCubic/i3/Configuration.h
  35. 12
    0
      config/examples/AnyCubic/i3/Configuration_adv.h
  36. 1
    1
      config/examples/ArmEd/Configuration.h
  37. 12
    0
      config/examples/ArmEd/Configuration_adv.h
  38. 1
    1
      config/examples/Azteeg/X5GT/Configuration.h
  39. 1
    1
      config/examples/BIBO/TouchX/cyclops/Configuration.h
  40. 12
    0
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  41. 1
    1
      config/examples/BIBO/TouchX/default/Configuration.h
  42. 12
    0
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  43. 1
    1
      config/examples/BQ/Hephestos/Configuration.h
  44. 12
    0
      config/examples/BQ/Hephestos/Configuration_adv.h
  45. 1
    1
      config/examples/BQ/Hephestos_2/Configuration.h
  46. 12
    0
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  47. 1
    1
      config/examples/BQ/WITBOX/Configuration.h
  48. 12
    0
      config/examples/BQ/WITBOX/Configuration_adv.h
  49. 1
    1
      config/examples/Cartesio/Configuration.h
  50. 12
    0
      config/examples/Cartesio/Configuration_adv.h
  51. 1
    1
      config/examples/Creality/CR-10/Configuration.h
  52. 12
    0
      config/examples/Creality/CR-10/Configuration_adv.h
  53. 1
    1
      config/examples/Creality/CR-10S/Configuration.h
  54. 12
    0
      config/examples/Creality/CR-10S/Configuration_adv.h
  55. 1
    1
      config/examples/Creality/CR-10_5S/Configuration.h
  56. 12
    0
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  57. 1
    1
      config/examples/Creality/CR-10mini/Configuration.h
  58. 12
    0
      config/examples/Creality/CR-10mini/Configuration_adv.h
  59. 1
    1
      config/examples/Creality/CR-20 Pro/Configuration.h
  60. 12
    0
      config/examples/Creality/CR-20 Pro/Configuration_adv.h
  61. 1
    1
      config/examples/Creality/CR-20/Configuration.h
  62. 12
    0
      config/examples/Creality/CR-20/Configuration_adv.h
  63. 1
    1
      config/examples/Creality/CR-8/Configuration.h
  64. 12
    0
      config/examples/Creality/CR-8/Configuration_adv.h
  65. 1
    1
      config/examples/Creality/Ender-2/Configuration.h
  66. 12
    0
      config/examples/Creality/Ender-2/Configuration_adv.h
  67. 1
    1
      config/examples/Creality/Ender-3/Configuration.h
  68. 12
    0
      config/examples/Creality/Ender-3/Configuration_adv.h
  69. 1
    1
      config/examples/Creality/Ender-4/Configuration.h
  70. 12
    0
      config/examples/Creality/Ender-4/Configuration_adv.h
  71. 1
    1
      config/examples/Creality/Ender-5/Configuration.h
  72. 12
    0
      config/examples/Creality/Ender-5/Configuration_adv.h
  73. 1
    1
      config/examples/Dagoma/Disco Ultimate/Configuration.h
  74. 12
    0
      config/examples/Dagoma/Disco Ultimate/Configuration_adv.h
  75. 1
    1
      config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration.h
  76. 12
    0
      config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration_adv.h
  77. 1
    1
      config/examples/Einstart-S/Configuration.h
  78. 12
    0
      config/examples/Einstart-S/Configuration_adv.h
  79. 1
    1
      config/examples/FYSETC/AIO_II/Configuration.h
  80. 12
    0
      config/examples/FYSETC/AIO_II/Configuration_adv.h
  81. 1
    1
      config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration.h
  82. 12
    0
      config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration_adv.h
  83. 1
    1
      config/examples/FYSETC/Cheetah 1.2/base/Configuration.h
  84. 12
    0
      config/examples/FYSETC/Cheetah 1.2/base/Configuration_adv.h
  85. 1
    1
      config/examples/FYSETC/Cheetah/BLTouch/Configuration.h
  86. 12
    0
      config/examples/FYSETC/Cheetah/BLTouch/Configuration_adv.h
  87. 1
    1
      config/examples/FYSETC/Cheetah/base/Configuration.h
  88. 12
    0
      config/examples/FYSETC/Cheetah/base/Configuration_adv.h
  89. 1
    1
      config/examples/FYSETC/F6_13/Configuration.h
  90. 12
    0
      config/examples/FYSETC/F6_13/Configuration_adv.h
  91. 1
    1
      config/examples/Felix/Configuration.h
  92. 12
    0
      config/examples/Felix/Configuration_adv.h
  93. 1
    1
      config/examples/Felix/DUAL/Configuration.h
  94. 1
    1
      config/examples/FlashForge/CreatorPro/Configuration.h
  95. 12
    0
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  96. 1
    1
      config/examples/FolgerTech/i3-2020/Configuration.h
  97. 12
    0
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  98. 1
    1
      config/examples/Formbot/Raptor/Configuration.h
  99. 12
    0
      config/examples/Formbot/Raptor/Configuration_adv.h
  100. 0
    0
      config/examples/Formbot/T_Rex_2+/Configuration.h

+ 1
- 1
Marlin/Configuration.h Zobrazit soubor

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

+ 12
- 0
Marlin/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 4
- 3
Marlin/src/feature/touch/xpt2046.cpp Zobrazit soubor

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

+ 128
- 87
Marlin/src/lcd/dogm/u8g_dev_tft_320x240_upscale_from_128x64.cpp Zobrazit soubor

@@ -91,6 +91,10 @@
91 91
 #define COLOR_BLUE  0x21DD
92 92
 #define COLOR_RED   0xF800
93 93
 #define COLOR_DARK  0x0003 // Some dark color
94
+#define COLOR_GREY  0x39E7
95
+#define COLOR_YELLOW 0xEFC0
96
+#define COLOR_ORANGE 0xFC00
97
+#define COLOR_GREEN  0x77E0
94 98
 
95 99
 #ifndef TFT_MARLINUI_COLOR
96 100
   #define TFT_MARLINUI_COLOR COLOR_WHITE
@@ -101,11 +105,14 @@
101 105
 #ifndef TFT_DISABLED_COLOR
102 106
   #define TFT_DISABLED_COLOR COLOR_DARK
103 107
 #endif
104
-#ifndef TFT_BTSLEFT_COLOR
105
-  #define TFT_BTSLEFT_COLOR COLOR_BLUE
108
+#ifndef TFT_BTCANCEL_COLOR
109
+  #define TFT_BTCANCEL_COLOR COLOR_RED
106 110
 #endif
107
-#ifndef TFT_BTRIGHT_COLOR
108
-  #define TFT_BTRIGHT_COLOR COLOR_RED
111
+#ifndef TFT_BTARROWS_COLOR
112
+  #define TFT_BTARROWS_COLOR COLOR_BLUE
113
+#endif
114
+#ifndef TFT_BTOKMENU_COLOR
115
+  #define TFT_BTOKMENU_COLOR COLOR_RED
109 116
 #endif
110 117
 
111 118
 static uint32_t lcd_id = 0;
@@ -142,22 +149,29 @@ static const uint8_t clear_screen_sequence[] = {
142 149
     U8G_ESC_END
143 150
   };
144 151
 
145
-  static const uint8_t button0_sequence[] = {
146
-    U8G_ESC_ADR(0), LCD_COLUMN, U8G_ESC_ADR(1), U8G_ESC_DATA(20), U8G_ESC_DATA(99),
152
+  static const uint8_t buttonD_sequence[] = {
153
+    U8G_ESC_ADR(0), LCD_COLUMN, U8G_ESC_ADR(1), U8G_ESC_DATA(14), U8G_ESC_DATA(77),
154
+    U8G_ESC_ADR(0), LCD_ROW,    U8G_ESC_ADR(1), U8G_ESC_DATA(185), U8G_ESC_DATA(224),
155
+    U8G_ESC_ADR(0), LCD_WRITE_RAM, U8G_ESC_ADR(1),
156
+    U8G_ESC_END
157
+  };
158
+
159
+  static const uint8_t buttonA_sequence[] = {
160
+    U8G_ESC_ADR(0), LCD_COLUMN, U8G_ESC_ADR(1), U8G_ESC_DATA(90), U8G_ESC_DATA(153),
147 161
     U8G_ESC_ADR(0), LCD_ROW,    U8G_ESC_ADR(1), U8G_ESC_DATA(185), U8G_ESC_DATA(224),
148 162
     U8G_ESC_ADR(0), LCD_WRITE_RAM, U8G_ESC_ADR(1),
149 163
     U8G_ESC_END
150 164
   };
151 165
 
152
-  static const uint8_t button1_sequence[] = {
153
-    U8G_ESC_ADR(0), LCD_COLUMN, U8G_ESC_ADR(1), U8G_ESC_DATA(120), U8G_ESC_DATA(199),
166
+  static const uint8_t buttonB_sequence[] = {
167
+    U8G_ESC_ADR(0), LCD_COLUMN, U8G_ESC_ADR(1), U8G_ESC_DATA(166), U8G_ESC_DATA(229),
154 168
     U8G_ESC_ADR(0), LCD_ROW,    U8G_ESC_ADR(1), U8G_ESC_DATA(185), U8G_ESC_DATA(224),
155 169
     U8G_ESC_ADR(0), LCD_WRITE_RAM, U8G_ESC_ADR(1),
156 170
     U8G_ESC_END
157 171
   };
158 172
 
159
-  static const uint8_t button2_sequence[] = {
160
-    U8G_ESC_ADR(0), LCD_COLUMN, U8G_ESC_ADR(1), U8G_ESC_DATA(220), U8G_ESC_DATA(299),
173
+  static const uint8_t buttonC_sequence[] = {
174
+    U8G_ESC_ADR(0), LCD_COLUMN, U8G_ESC_ADR(1), U8G_ESC_DATA(242), U8G_ESC_DATA(305),
161 175
     U8G_ESC_ADR(0), LCD_ROW,    U8G_ESC_ADR(1), U8G_ESC_DATA(185), U8G_ESC_DATA(224),
162 176
     U8G_ESC_ADR(0), LCD_WRITE_RAM, U8G_ESC_ADR(1),
163 177
     U8G_ESC_END
@@ -214,77 +228,100 @@ static const uint8_t ili9341_init_sequence[] = { // 0x9341 - ILI9341
214 228
 
215 229
 #if ENABLED(TOUCH_BUTTONS)
216 230
 
217
-  static const uint8_t button0[] = {
218
-     B01111111,B11111111,B11111111,B11111111,B11111110,
219
-     B10000000,B00000000,B00000000,B00000000,B00000001,
220
-     B10000000,B00000000,B00000000,B00000000,B00000001,
221
-     B10000000,B00000000,B00010000,B00000000,B00000001,
222
-     B10000000,B00000000,B00010000,B00000000,B00000001,
223
-     B10000000,B01000000,B00010000,B00000000,B00000001,
224
-     B10000000,B11100000,B00010000,B00000000,B00000001,
225
-     B10000001,B11110000,B00010000,B00000000,B00000001,
226
-     B10000011,B11111000,B00010000,B00000000,B00000001,
227
-     B10000111,B11111100,B00010000,B11111111,B11100001,
228
-     B10000000,B11100000,B00010000,B11111111,B11100001,
229
-     B10000000,B11100000,B00010000,B00000000,B00000001,
230
-     B10000000,B11100000,B00010000,B00000000,B00000001,
231
-     B10000000,B11100000,B00010000,B00000000,B00000001,
232
-     B10000000,B11100000,B00010000,B00000000,B00000001,
233
-     B10000000,B00000000,B00010000,B00000000,B00000001,
234
-     B10000000,B00000000,B00010000,B00000000,B00000001,
235
-     B10000000,B00000000,B00000000,B00000000,B00000001,
236
-     B10000000,B00000000,B00000000,B00000000,B00000001,
237
-     B01111111,B11111111,B11111111,B11111111,B11111110,
231
+  static const uint8_t buttonD[] = {
232
+    B01111111,B11111111,B11111111,B11111110,
233
+    B10000000,B00000000,B00000000,B00000001,
234
+    B10000000,B00000000,B00000000,B00000001,
235
+    B10000000,B00000000,B00000000,B00000001,
236
+    B10000000,B00000000,B00000000,B00000001,
237
+    B10000000,B00000000,B00000000,B00000001,
238
+    B10000000,B00011000,B00110000,B00000001,
239
+    B10000000,B00001100,B01100000,B00000001,
240
+    B10000000,B00000110,B11000000,B00000001,
241
+    B10000000,B00000011,B10000000,B00000001,
242
+    B10000000,B00000011,B10000000,B00000001,
243
+    B10000000,B00000110,B11000000,B00000001,
244
+    B10000000,B00001100,B01100000,B00000001,
245
+    B10000000,B00011000,B00110000,B00000001,
246
+    B10000000,B00000000,B00000000,B00000001,
247
+    B10000000,B00000000,B00000000,B00000001,
248
+    B10000000,B00000000,B00000000,B00000001,
249
+    B10000000,B00000000,B00000000,B00000001,
250
+    B10000000,B00000000,B00000000,B00000001,
251
+    B01111111,B11111111,B11111111,B11111110,
252
+  };
253
+
254
+  static const uint8_t buttonA[] = {
255
+    B01111111,B11111111,B11111111,B11111110,
256
+    B10000000,B00000000,B00000000,B00000001,
257
+    B10000000,B00000000,B00000000,B00000001,
258
+    B10000000,B00000000,B00000000,B00000001,
259
+    B10000000,B00000000,B00000000,B00000001,
260
+    B10000000,B01000000,B00000000,B00000001,
261
+    B10000000,B11100000,B00000000,B00000001,
262
+    B10000001,B11110000,B00000000,B00000001,
263
+    B10000011,B11111000,B00000000,B00000001,
264
+    B10000111,B11111100,B00111111,B11100001,
265
+    B10000000,B11100000,B00111111,B11100001,
266
+    B10000000,B11100000,B00000000,B00000001,
267
+    B10000000,B11100000,B00000000,B00000001,
268
+    B10000000,B11100000,B00000000,B00000001,
269
+    B10000000,B11100000,B00000000,B00000001,
270
+    B10000000,B00000000,B00000000,B00000001,
271
+    B10000000,B00000000,B00000000,B00000001,
272
+    B10000000,B00000000,B00000000,B00000001,
273
+    B10000000,B00000000,B00000000,B00000001,
274
+    B01111111,B11111111,B11111111,B11111110,
238 275
   };
239 276
 
240
-  static const uint8_t button1[] = {
241
-     B01111111,B11111111,B11111111,B11111111,B11111110,
242
-     B10000000,B00000000,B00000000,B00000000,B00000001,
243
-     B10000000,B00000000,B00000000,B00000000,B00000001,
244
-     B10000000,B00000000,B00010000,B00000000,B00000001,
245
-     B10000000,B00000000,B00010000,B00000110,B00000001,
246
-     B10000000,B11100000,B00010000,B00000110,B00000001,
247
-     B10000000,B11100000,B00010000,B00000110,B00000001,
248
-     B10000000,B11100000,B00010000,B00000110,B00000001,
249
-     B10000000,B11100000,B00010000,B00000110,B00000001,
250
-     B10000000,B11100000,B00010000,B11111111,B11110001,
251
-     B10000111,B11111100,B00010000,B11111111,B11110001,
252
-     B10000011,B11111000,B00010000,B00000110,B00000001,
253
-     B10000001,B11110000,B00010000,B00000110,B00000001,
254
-     B10000000,B11100000,B00010000,B00000110,B00000001,
255
-     B10000000,B01000000,B00010000,B00000110,B00000001,
256
-     B10000000,B00000000,B00010000,B00000110,B00000001,
257
-     B10000000,B00000000,B00010000,B00000000,B00000001,
258
-     B10000000,B00000000,B00000000,B00000000,B00000001,
259
-     B10000000,B00000000,B00000000,B00000000,B00000001,
260
-     B01111111,B11111111,B11111111,B11111111,B11111110,
277
+  static const uint8_t buttonB[] = {
278
+    B01111111,B11111111,B11111111,B11111110,
279
+    B10000000,B00000000,B00000000,B00000001,
280
+    B10000000,B00000000,B00000000,B00000001,
281
+    B10000000,B00000000,B00000000,B00000001,
282
+    B10000000,B00000000,B00000000,B00000001,
283
+    B10000000,B01100000,B00000111,B00000001,
284
+    B10000000,B01100000,B00000111,B00000001,
285
+    B10000000,B01100000,B00000111,B00000001,
286
+    B10000000,B01100000,B00000111,B00000001,
287
+    B10000111,B11111110,B00000111,B00000001,
288
+    B10000111,B11111110,B00111111,B11100001,
289
+    B10000000,B01100000,B00011111,B11000001,
290
+    B10000000,B01100000,B00001111,B10000001,
291
+    B10000000,B01100000,B00000111,B00000001,
292
+    B10000000,B01100000,B00000010,B00000001,
293
+    B10000000,B00000000,B00000000,B00000001,
294
+    B10000000,B00000000,B00000000,B00000001,
295
+    B10000000,B00000000,B00000000,B00000001,
296
+    B10000000,B00000000,B00000000,B00000001,
297
+    B01111111,B11111111,B11111111,B11111110,
261 298
   };
262 299
 
263
-  static const uint8_t button2[] = {
264
-     B01111111,B11111111,B11111111,B11111111,B11111110,
265
-     B10000000,B00000000,B00000000,B00000000,B00000001,
266
-     B10000000,B00000000,B00000000,B00000000,B00000001,
267
-     B10000000,B00000000,B00000000,B00000000,B00000001,
268
-     B10000000,B00000000,B00000000,B00000000,B00000001,
269
-     B10000000,B00000000,B00000000,B00000000,B00000001,
270
-     B10000000,B00000000,B00000001,B11000000,B00000001,
271
-     B10000000,B00000000,B01000001,B11000000,B00000001,
272
-     B10000000,B00000000,B11000001,B11000000,B00000001,
273
-     B10000000,B00000001,B11111111,B11000000,B00000001,
274
-     B10000000,B00000011,B11111111,B11000000,B00000001,
275
-     B10000000,B00000001,B11111111,B11000000,B00000001,
276
-     B10000000,B00000000,B11000000,B00000000,B00000001,
277
-     B10000000,B00000000,B01000000,B00000000,B00000001,
278
-     B10000000,B00000000,B00000000,B00000000,B00000001,
279
-     B10000000,B00000000,B00000000,B00000000,B00000001,
280
-     B10000000,B00000000,B00000000,B00000000,B00000001,
281
-     B10000000,B00000000,B00000000,B00000000,B00000001,
282
-     B10000000,B00000000,B00000000,B00000000,B00000001,
283
-     B01111111,B11111111,B11111111,B11111111,B11111110,
300
+  static const uint8_t buttonC[] = {
301
+    B01111111,B11111111,B11111111,B11111110,
302
+    B10000000,B00000000,B00000000,B00000001,
303
+    B10000000,B00000000,B00000000,B00000001,
304
+    B10000000,B00000000,B00000000,B00000001,
305
+    B10000000,B00000000,B00000000,B00000001,
306
+    B10000000,B00000000,B00000000,B00000001,
307
+    B10000000,B00000000,B00011100,B00000001,
308
+    B10000000,B00000100,B00011100,B00000001,
309
+    B10000000,B00001100,B00011100,B00000001,
310
+    B10000000,B00011111,B11111100,B00000001,
311
+    B10000000,B00111111,B11111100,B00000001,
312
+    B10000000,B00011111,B11111100,B00000001,
313
+    B10000000,B00001100,B00000000,B00000001,
314
+    B10000000,B00000100,B00000000,B00000001,
315
+    B10000000,B00000000,B00000000,B00000001,
316
+    B10000000,B00000000,B00000000,B00000001,
317
+    B10000000,B00000000,B00000000,B00000001,
318
+    B10000000,B00000000,B00000000,B00000001,
319
+    B10000000,B00000000,B00000000,B00000001,
320
+    B01111111,B11111111,B11111111,B11111110,
284 321
   };
285 322
 
286 323
   void drawImage(const uint8_t *data, u8g_t *u8g, u8g_dev_t *dev, uint16_t length, uint16_t height, uint16_t color) {
287
-    uint16_t buffer[160];
324
+    uint16_t buffer[128];
288 325
 
289 326
     for (uint16_t i = 0; i < height; i++) {
290 327
       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
333 370
     uint16_t* buffer = &bufferA[0];
334 371
     bool allow_async = true;
335 372
   #else
336
-    uint16_t buffer[256]; // 16-bit RGB 565 pixel line buffer
373
+    uint16_t buffer[WIDTH*2]; // 16-bit RGB 565 pixel line buffer
337 374
   #endif
338 375
   switch (msg) {
339 376
     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
351 388
         return u8g_dev_pb8v1_base_fn(u8g, dev, msg, arg);
352 389
       }
353 390
 
391
+      // Clear Screen Sequence
354 392
       u8g_WriteEscSeqP(u8g, dev, clear_screen_sequence);
355 393
       #ifdef LCD_USE_DMA_FSMC
356 394
         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
378 416
             u8g_WriteSequence(u8g, dev, 150, (uint8_t *)buffer);
379 417
         #endif
380 418
 
381
-        u8g_WriteEscSeqP(u8g, dev, button0_sequence);
382
-        drawImage(button0, u8g, dev, 40, 20, TFT_BTSLEFT_COLOR);
419
+        u8g_WriteEscSeqP(u8g, dev, buttonD_sequence);
420
+        drawImage(buttonD, u8g, dev, 32, 20, TFT_BTCANCEL_COLOR);
383 421
 
384
-        u8g_WriteEscSeqP(u8g, dev, button1_sequence);
385
-        drawImage(button1, u8g, dev, 40, 20, TFT_BTSLEFT_COLOR);
422
+        u8g_WriteEscSeqP(u8g, dev, buttonA_sequence);
423
+        drawImage(buttonA, u8g, dev, 32, 20, TFT_BTARROWS_COLOR);
386 424
 
387
-        u8g_WriteEscSeqP(u8g, dev, button2_sequence);
388
-        drawImage(button2, u8g, dev, 40, 20, TFT_BTRIGHT_COLOR);
425
+        u8g_WriteEscSeqP(u8g, dev, buttonB_sequence);
426
+        drawImage(buttonB, u8g, dev, 32, 20, TFT_BTARROWS_COLOR);
389 427
 
428
+        u8g_WriteEscSeqP(u8g, dev, buttonC_sequence);
429
+        drawImage(buttonC, u8g, dev, 32, 20, TFT_BTOKMENU_COLOR);
390 430
       #endif // TOUCH_BUTTONS
391 431
 
392 432
       return 0;
@@ -399,9 +439,9 @@ uint8_t u8g_dev_tft_320x240_upscale_from_128x64_fn(u8g_t *u8g, u8g_dev_t *dev, u
399 439
       break;
400 440
 
401 441
     case U8G_DEV_MSG_PAGE_NEXT:
402
-      if (++page > 8) return 1;
442
+      if (++page > (HEIGHT / PAGE_HEIGHT)) return 1;
403 443
 
404
-      for (uint8_t y = 0; y < 8; y++) {
444
+      for (uint8_t y = 0; y < PAGE_HEIGHT; y++) {
405 445
         uint32_t k = 0;
406 446
         #ifdef LCD_USE_DMA_FSMC
407 447
           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
423 463
           else
424 464
             LCD_IO_WriteSequence(buffer, 512);
425 465
         #else
466
+          uint8_t* bufptr = (uint8_t*) buffer;
426 467
           for (uint8_t i = 2; i--;) {
427
-            u8g_WriteSequence(u8g, dev, 128, (uint8_t*)buffer);
428
-            u8g_WriteSequence(u8g, dev, 128, (uint8_t*)&(buffer[64]));
429
-            u8g_WriteSequence(u8g, dev, 128, (uint8_t*)&(buffer[128]));
430
-            u8g_WriteSequence(u8g, dev, 128, (uint8_t*)&(buffer[192]));
468
+            u8g_WriteSequence(u8g, dev, WIDTH, &bufptr[0]);
469
+            u8g_WriteSequence(u8g, dev, WIDTH, &bufptr[WIDTH]);
470
+            u8g_WriteSequence(u8g, dev, WIDTH, &bufptr[WIDTH*2]);
471
+            u8g_WriteSequence(u8g, dev, WIDTH, &bufptr[WIDTH*3]);
431 472
           }
432 473
         #endif
433 474
       }

+ 6
- 1
Marlin/src/lcd/ultralcd.cpp Zobrazit soubor

@@ -804,7 +804,7 @@ void MarlinUI::update() {
804 804
     }
805 805
     else wait_for_unclick = false;
806 806
 
807
-    #if HAS_DIGITAL_BUTTONS && BUTTON_EXISTS(BACK)
807
+    #if HAS_DIGITAL_BUTTONS && (BUTTON_EXISTS(BACK) || ENABLED(TOUCH_BUTTONS))
808 808
       if (LCD_BACK_CLICKED()) {
809 809
         quick_feedback();
810 810
         goto_previous_screen();
@@ -885,6 +885,11 @@ void MarlinUI::update() {
885 885
 
886 886
       #if ENABLED(TOUCH_BUTTONS)
887 887
         touch_buttons = read_touch_buttons();
888
+        if (touch_buttons) {
889
+          #if HAS_LCD_MENU && LCD_TIMEOUT_TO_STATUS
890
+            return_to_status_ms = ms + LCD_TIMEOUT_TO_STATUS;
891
+          #endif
892
+        }
888 893
       #endif
889 894
 
890 895
       #if ENABLED(REPRAPWORLD_KEYPAD)

+ 1
- 1
Marlin/src/lcd/ultralcd.h Zobrazit soubor

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

+ 1
- 1
config/default/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/default/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/3DFabXYZ/Migbot/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/3DFabXYZ/Migbot/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/ADIMLab/Gantry v1/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/ADIMLab/Gantry v1/Configuration_adv.h Zobrazit soubor

@@ -1200,6 +1200,18 @@
1200 1200
   //#define TOUCH_UI_PASSCODE
1201 1201
 #endif
1202 1202
 
1203
+//
1204
+// FSMC Graphical TFT
1205
+//
1206
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1207
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1208
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1209
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1210
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1211
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1212
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1213
+#endif
1214
+
1203 1215
 // @section safety
1204 1216
 
1205 1217
 /**

+ 1
- 1
config/examples/ADIMLab/Gantry v2/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/ADIMLab/Gantry v2/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/AlephObjects/TAZ4/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/AlephObjects/TAZ4/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 11
config/examples/Alfawise/U20/Configuration.h Zobrazit soubor

@@ -98,16 +98,6 @@
98 98
 //#define TS_V11
99 99
 //#define TS_V12
100 100
 
101
-// 4 - If you want to tune the UI colors, define custom ones here. RGB 16 bits 5-6-5 format
102
-// see https://ee-programming-notepad.blogspot.com/2016/10/16-bit-color-generator-picker.html
103
-
104
-//#define TFT_MARLINUI_COLOR 0xFFFF // White
105
-//#define TFT_MARLINBG_COLOR 0x0000 // Black
106
-//#define TFT_TOPICONS_COLOR 0x21DD // Blue
107
-//#define TFT_DISABLED_COLOR 0x0003 // Almost black
108
-//#define TFT_BTSLEFT_COLOR  0xDEE6 // 11011 110111 00110 Yellow
109
-//#define TFT_BTRIGHT_COLOR  0x145F // 00010 100010 11111 Cyan
110
-
111 101
 //===========================================================================
112 102
 
113 103
 // @section info
@@ -2139,7 +2129,7 @@
2139 2129
 //=============================================================================
2140 2130
 
2141 2131
 //
2142
-// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.)
2132
+// FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, REXYZ A1, etc.)
2143 2133
 //
2144 2134
 #define FSMC_GRAPHICAL_TFT
2145 2135
 

+ 12
- 0
config/examples/Alfawise/U20/Configuration_adv.h Zobrazit soubor

@@ -1217,6 +1217,18 @@
1217 1217
   //#define TOUCH_UI_PASSCODE
1218 1218
 #endif
1219 1219
 
1220
+//
1221
+// FSMC Graphical TFT
1222
+//
1223
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1224
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1225
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1226
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1227
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1228
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1229
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1230
+#endif
1231
+
1220 1232
 // @section safety
1221 1233
 
1222 1234
 /**

+ 1
- 1
config/examples/AliExpress/CL-260/Configuration.h Zobrazit soubor

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

+ 1
- 1
config/examples/AliExpress/UM2pExt/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/AliExpress/UM2pExt/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Anet/A2/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Anet/A2/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Anet/A2plus/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Anet/A2plus/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Anet/A6/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Anet/A6/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Anet/A8/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Anet/A8/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Anet/A8plus/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Anet/A8plus/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Anet/E16/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Anet/E16/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/AnyCubic/i3/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/AnyCubic/i3/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/ArmEd/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/ArmEd/Configuration_adv.h Zobrazit soubor

@@ -1218,6 +1218,18 @@
1218 1218
   //#define TOUCH_UI_PASSCODE
1219 1219
 #endif
1220 1220
 
1221
+//
1222
+// FSMC Graphical TFT
1223
+//
1224
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1225
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1226
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1227
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1228
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1229
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1230
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1231
+#endif
1232
+
1221 1233
 // @section safety
1222 1234
 
1223 1235
 /**

+ 1
- 1
config/examples/Azteeg/X5GT/Configuration.h Zobrazit soubor

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

+ 1
- 1
config/examples/BIBO/TouchX/cyclops/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/BIBO/TouchX/default/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/BIBO/TouchX/default/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/BQ/Hephestos/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/BQ/Hephestos/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/BQ/Hephestos_2/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/BQ/Hephestos_2/Configuration_adv.h Zobrazit soubor

@@ -1222,6 +1222,18 @@
1222 1222
   //#define TOUCH_UI_PASSCODE
1223 1223
 #endif
1224 1224
 
1225
+//
1226
+// FSMC Graphical TFT
1227
+//
1228
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1229
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1230
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1231
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1232
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1233
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1234
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1235
+#endif
1236
+
1225 1237
 // @section safety
1226 1238
 
1227 1239
 /**

+ 1
- 1
config/examples/BQ/WITBOX/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/BQ/WITBOX/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Cartesio/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Cartesio/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Creality/CR-10/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Creality/CR-10/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Creality/CR-10S/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Creality/CR-10S/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Creality/CR-10_5S/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Creality/CR-10_5S/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Creality/CR-10mini/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Creality/CR-10mini/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Creality/CR-20 Pro/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Creality/CR-20 Pro/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Creality/CR-20/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Creality/CR-20/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Creality/CR-8/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Creality/CR-8/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Creality/Ender-2/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Creality/Ender-2/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Creality/Ender-3/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Creality/Ender-3/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Creality/Ender-4/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Creality/Ender-4/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Creality/Ender-5/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Creality/Ender-5/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Dagoma/Disco Ultimate/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Dagoma/Disco Ultimate/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Einstart-S/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Einstart-S/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/FYSETC/AIO_II/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/FYSETC/AIO_II/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/FYSETC/Cheetah 1.2/base/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/FYSETC/Cheetah 1.2/base/Configuration_adv.h Zobrazit soubor

@@ -1213,6 +1213,18 @@
1213 1213
   //#define TOUCH_UI_PASSCODE
1214 1214
 #endif
1215 1215
 
1216
+//
1217
+// FSMC Graphical TFT
1218
+//
1219
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1220
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1221
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1222
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1223
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1224
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1225
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1226
+#endif
1227
+
1216 1228
 // @section safety
1217 1229
 
1218 1230
 /**

+ 1
- 1
config/examples/FYSETC/Cheetah/BLTouch/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/FYSETC/Cheetah/BLTouch/Configuration_adv.h Zobrazit soubor

@@ -1213,6 +1213,18 @@
1213 1213
   //#define TOUCH_UI_PASSCODE
1214 1214
 #endif
1215 1215
 
1216
+//
1217
+// FSMC Graphical TFT
1218
+//
1219
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1220
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1221
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1222
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1223
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1224
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1225
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1226
+#endif
1227
+
1216 1228
 // @section safety
1217 1229
 
1218 1230
 /**

+ 1
- 1
config/examples/FYSETC/Cheetah/base/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/FYSETC/Cheetah/base/Configuration_adv.h Zobrazit soubor

@@ -1213,6 +1213,18 @@
1213 1213
   //#define TOUCH_UI_PASSCODE
1214 1214
 #endif
1215 1215
 
1216
+//
1217
+// FSMC Graphical TFT
1218
+//
1219
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1220
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1221
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1222
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1223
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1224
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1225
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1226
+#endif
1227
+
1216 1228
 // @section safety
1217 1229
 
1218 1230
 /**

+ 1
- 1
config/examples/FYSETC/F6_13/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/FYSETC/F6_13/Configuration_adv.h Zobrazit soubor

@@ -1200,6 +1200,18 @@
1200 1200
   //#define TOUCH_UI_PASSCODE
1201 1201
 #endif
1202 1202
 
1203
+//
1204
+// FSMC Graphical TFT
1205
+//
1206
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1207
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1208
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1209
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1210
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1211
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1212
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1213
+#endif
1214
+
1203 1215
 // @section safety
1204 1216
 
1205 1217
 /**

+ 1
- 1
config/examples/Felix/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Felix/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Felix/DUAL/Configuration.h Zobrazit soubor

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

+ 1
- 1
config/examples/FlashForge/CreatorPro/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/FlashForge/CreatorPro/Configuration_adv.h Zobrazit soubor

@@ -1213,6 +1213,18 @@
1213 1213
   //#define TOUCH_UI_PASSCODE
1214 1214
 #endif
1215 1215
 
1216
+//
1217
+// FSMC Graphical TFT
1218
+//
1219
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1220
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1221
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1222
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1223
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1224
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1225
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1226
+#endif
1227
+
1216 1228
 // @section safety
1217 1229
 
1218 1230
 /**

+ 1
- 1
config/examples/FolgerTech/i3-2020/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/FolgerTech/i3-2020/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 1
- 1
config/examples/Formbot/Raptor/Configuration.h Zobrazit soubor

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

+ 12
- 0
config/examples/Formbot/Raptor/Configuration_adv.h Zobrazit soubor

@@ -1214,6 +1214,18 @@
1214 1214
   //#define TOUCH_UI_PASSCODE
1215 1215
 #endif
1216 1216
 
1217
+//
1218
+// FSMC Graphical TFT
1219
+//
1220
+#if ENABLED(FSMC_GRAPHICAL_TFT)
1221
+  //#define TFT_MARLINUI_COLOR 0xFFFF // White
1222
+  //#define TFT_MARLINBG_COLOR 0x0000 // Black
1223
+  //#define TFT_DISABLED_COLOR 0x0003 // Almost black
1224
+  //#define TFT_BTCANCEL_COLOR 0xF800 // Red
1225
+  //#define TFT_BTARROWS_COLOR 0xDEE6 // 11011 110111 00110 Yellow
1226
+  //#define TFT_BTOKMENU_COLOR 0x145F // 00010 100010 11111 Cyan
1227
+#endif
1228
+
1217 1229
 // @section safety
1218 1230
 
1219 1231
 /**

+ 0
- 0
config/examples/Formbot/T_Rex_2+/Configuration.h Zobrazit soubor


Některé soubory nejsou zobrazny, neboť je v této revizi změněno mnoho souborů

Loading…
Zrušit
Uložit