|
@@ -23,102 +23,4 @@
|
23
|
23
|
|
24
|
24
|
#include "compat.h"
|
25
|
25
|
|
26
|
|
-// Define the display board used (see "ftdi_eve_boards.h" for definitions)
|
27
|
|
-
|
28
|
|
-//#define LCD_FTDI_VM800B35A // FTDI 3.5" 320x240 with FT800
|
29
|
|
-//#define LCD_4DSYSTEMS_4DLCD_FT843 // 4D Systems 4.3" 480x272
|
30
|
|
-//#define LCD_HAOYU_FT800CB // Haoyu with 4.3" or 5" 480x272
|
31
|
|
-//#define LCD_HAOYU_FT810CB // Haoyu with 5" 800x480
|
32
|
|
-//#define LCD_ALEPHOBJECTS_CLCD_UI // Aleph Objects Color LCD User Interface
|
33
|
|
-
|
34
|
|
-// Leave the following commented out to use a board's default resolution.
|
35
|
|
-// If you have changed the LCD panel, you may override the resolution
|
36
|
|
-// below (see "ftdi_eve_resolutions.h" for definitions):
|
37
|
|
-
|
38
|
|
-//#define TOUCH_UI_320x240
|
39
|
|
-//#define TOUCH_UI_480x272
|
40
|
|
-//#define TOUCH_UI_800x480
|
41
|
|
-
|
42
|
|
-// Define the printer interface or pins used (see "ui_pin_mappings.h" for definitions):
|
43
|
|
-
|
44
|
|
-//#define CR10_TFT_PINMAP
|
45
|
|
-//#define AO_EXP1_DEPRECATED_PINMAP // UltraLCD EXP1 connector, old AlephObject's wiring
|
46
|
|
-//#define AO_EXP1_PINMAP // UltraLCD EXP1 connector, new AlephObject's wiring
|
47
|
|
-//#define AO_EXP2_PINMAP // UltraLCD EXP2 connector, new AlephObject's wiring
|
48
|
|
-//#define OTHER_PIN_LAYOUT
|
49
|
|
-
|
50
|
|
-// Otherwise. Define all the pins manually:
|
51
|
|
-
|
52
|
|
-#ifdef OTHER_PIN_LAYOUT
|
53
|
|
- // Select interfacing pins, the following pin specifiers are supported:
|
54
|
|
- //
|
55
|
|
- // ARDUINO_DIGITAL_1 - Arduino pin via digitalWrite/digitalRead
|
56
|
|
- // AVR_A1 - Fast AVR port access via PORTA/PINA/DDRA
|
57
|
|
- // 1 - When compiling Marlin, use Marlin pin IDs.
|
58
|
|
-
|
59
|
|
- // The pins for CS and MOD_RESET (PD) must be chosen.
|
60
|
|
- #define CLCD_MOD_RESET 9
|
61
|
|
- #define CLCD_SPI_CS 10
|
62
|
|
-
|
63
|
|
- // If using software SPI, specify pins for SCLK, MOSI, MISO
|
64
|
|
- //#define CLCD_USE_SOFT_SPI
|
65
|
|
- #ifdef CLCD_USE_SOFT_SPI
|
66
|
|
- #define CLCD_SOFT_SPI_MOSI 11
|
67
|
|
- #define CLCD_SOFT_SPI_MISO 12
|
68
|
|
- #define CLCD_SOFT_SPI_SCLK 13
|
69
|
|
- #endif
|
70
|
|
-#endif
|
71
|
|
-
|
72
|
|
-// Defines how to orient the display. An inverted (i.e. upside-down) display
|
73
|
|
-// is supported on the FT800. The FT810 or better also support a portrait
|
74
|
|
-// and mirrored orientation.
|
75
|
|
-//#define TOUCH_UI_INVERTED
|
76
|
|
-//#define TOUCH_UI_PORTRAIT
|
77
|
|
-//#define TOUCH_UI_MIRRORED
|
78
|
|
-
|
79
|
|
-// Enable UTF8 processing and rendering. Unsupported characters
|
80
|
|
-// will be shown as '?'.
|
81
|
|
-//#define TOUCH_UI_USE_UTF8
|
82
|
|
-#ifdef TOUCH_UI_USE_UTF8
|
83
|
|
- // Western accents support. These accented characters use
|
84
|
|
- // combined bitmaps and require relatively little storage.
|
85
|
|
- #define TOUCH_UI_UTF8_WESTERN_CHARSET
|
86
|
|
- #ifdef TOUCH_UI_UTF8_WESTERN_CHARSET
|
87
|
|
- // Additional character groups. These characters require
|
88
|
|
- // full bitmaps and take up considerable storage:
|
89
|
|
- //#define TOUCH_UI_UTF8_SUPERSCRIPTS // ¹ ² ³
|
90
|
|
- //#define TOUCH_UI_UTF8_COPYRIGHT // © ®
|
91
|
|
- //#define TOUCH_UI_UTF8_GERMANIC // ß
|
92
|
|
- //#define TOUCH_UI_UTF8_SCANDINAVIAN // Æ Ð Ø Þ æ ð ø þ
|
93
|
|
- //#define TOUCH_UI_UTF8_PUNCTUATION // « » ¿ ¡
|
94
|
|
- //#define TOUCH_UI_UTF8_CURRENCY // ¢ £ ¤ ¥
|
95
|
|
- //#define TOUCH_UI_UTF8_ORDINALS // º ª
|
96
|
|
- //#define TOUCH_UI_UTF8_MATHEMATICS // ± × ÷
|
97
|
|
- //#define TOUCH_UI_UTF8_FRACTIONS // ¼ ½ ¾
|
98
|
|
- //#define TOUCH_UI_UTF8_SYMBOLS // µ ¶ ¦ § ¬
|
99
|
|
- #endif
|
100
|
|
-#endif
|
101
|
|
-
|
102
|
|
-// When labels do not fit buttons, use smaller font
|
103
|
|
-//#define TOUCH_UI_FIT_TEXT
|
104
|
|
-
|
105
|
|
-// Enable support for selection of languages at run-time
|
106
|
|
-// (otherwise will use the value of LCD_LANGUAGE)
|
107
|
|
-//#define TOUCH_UI_LANGUAGE_MENU
|
108
|
|
-
|
109
|
|
-// Use a numeric passcode for "Parental lock".
|
110
|
|
-// This is a recommended for smaller displays.
|
111
|
|
-//#define TOUCH_UI_PASSCODE
|
112
|
|
-
|
113
|
|
-// The timeout (in ms) to return to the status screen from sub-menus
|
114
|
|
-//#define LCD_TIMEOUT_TO_STATUS 15000
|
115
|
|
-
|
116
|
|
-// Enable this to debug the event framework
|
117
|
|
-//#define TOUCH_UI_DEBUG
|
118
|
|
-
|
119
|
|
-// Enable the developer's menu and screens
|
120
|
|
-//#define DEVELOPER_SCREENS
|
121
|
|
-
|
122
|
|
-// Sets the SPI speed in Hz
|
123
|
|
-
|
124
|
|
-#define SPI_FREQUENCY 8000000 >> SPI_SPEED
|
|
26
|
+// Configure this display with options in Configuration_adv.h
|