Update Anet ET4 configs (#368)

This commit is contained in:
Keith Bennett 2020-12-18 19:50:16 -08:00 committed by GitHub
parent b4a62a7d7d
commit 5a25fd57e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 377 additions and 196 deletions

View file

@ -2385,20 +2385,30 @@
//
//#define LONGER_LK_TFT28
//
// 320x240, 2.8", FSMC Stock Display from ET4
//
#define ANET_ET4_TFT28
//
// 480x320, 3.5", FSMC Stock Display from ET5
//
//#define ANET_ET5_TFT35
//
// Generic TFT with detailed options
//
#define TFT_GENERIC
//#define TFT_GENERIC
#if ENABLED(TFT_GENERIC)
// :[ 'AUTO', 'ST7735', 'ST7789', 'ST7796', 'R61505', 'ILI9328', 'ILI9341', 'ILI9488' ]
#define TFT_DRIVER AUTO
// Interface. Enable one of the following options:
//#define TFT_INTERFACE_FSMC
#define TFT_INTERFACE_SPI
//#define TFT_INTERFACE_SPI
// TFT Resolution. Enable one of the following options:
#define TFT_RES_320x240
//#define TFT_RES_320x240
//#define TFT_RES_480x272
//#define TFT_RES_480x320
#endif
@ -2413,10 +2423,41 @@
* For LVGL_UI also copy the 'assets' folder from the build directory to the
* root of your SD card, together with the compiled firmware.
*/
#define TFT_CLASSIC_UI
//#define TFT_COLOR_UI
//#define TFT_CLASSIC_UI
#define TFT_COLOR_UI
//#define TFT_LVGL_UI
/* ET4/ET5 Black Theme */
#define COLOR_RED2 0xF003 // #F70019
#define COLOR_ORANGE2 0xFDE0 // #FFBE00
#define COLOR_LIME2 0xA7E0 // #A5FF00
#define COLOR_BLACK2 0x2124 // #212421
#define COLOR_BACKGROUND COLOR_BLACK2
#define COLOR_SELECTION_BG COLOR_ORANGE2
#define COLOR_COLD COLOR_WHITE
#define COLOR_HOTEND COLOR_RED2
#define COLOR_HEATED_BED COLOR_RED2
#define COLOR_CHAMBER COLOR_WHITE
#define COLOR_FAN COLOR_WHITE
#define COLOR_AXIS_FRAME COLOR_WHITE
#define COLOR_AXIS_HOMED COLOR_ORANGE2
#define COLOR_AXIS_NOT_HOMED COLOR_ORANGE2
#define COLOR_RATE_100 COLOR_LIME2
#define COLOR_RATE_ALTERED COLOR_ORANGE2
#define COLOR_PRINT_TIME COLOR_WHITE
#define COLOR_PROGRESS_BAR COLOR_ORANGE2
#define COLOR_STATUS_MESSAGE COLOR_ORANGE2
#define COLOR_SD_ENABLED COLOR_CONTROL_ENABLED
#define COLOR_SD_DISABLED COLOR_CONTROL_DISABLED
#define COLOR_MENU_TEXT COLOR_WHITE
#define COLOR_MENU_VALUE_FONT COLOR_ORANGE2
#define COLOR_SLIDER COLOR_ORANGE2
#define COLOR_INCREASE COLOR_WHITE
#define COLOR_DECREASE COLOR_WHITE
#define COLOR_TICK COLOR_VIVID_GREEN
/**
* TFT Rotation. Set to one of the following values:
*
@ -2444,13 +2485,13 @@
#define BUTTON_DELAY_EDIT 50 // (ms) Button repeat delay for edit screens
#define BUTTON_DELAY_MENU 250 // (ms) Button repeat delay for menus
#define TOUCH_SCREEN_CALIBRATION
//#define TOUCH_SCREEN_CALIBRATION
#define TOUCH_CALIBRATION_X -11838
#define TOUCH_CALIBRATION_Y 8776
#define TOUCH_OFFSET_X 333
#define TOUCH_OFFSET_Y -17
#define TOUCH_ORIENTATION TOUCH_PORTRAIT
//#define TOUCH_CALIBRATION_X -11838
//#define TOUCH_CALIBRATION_Y 8776
//#define TOUCH_OFFSET_X 333
//#define TOUCH_OFFSET_Y -17
//#define TOUCH_ORIENTATION TOUCH_PORTRAIT
#if ENABLED(TFT_COLOR_UI)
//#define SINGLE_TOUCH_NAVIGATION