Skip to content

Commit 7ea52fb

Browse files
committed
Updated Configuration_adv.h
1 parent 8c5b4ef commit 7ea52fb

File tree

1 file changed

+45
-2
lines changed

1 file changed

+45
-2
lines changed

Marlin/Configuration_adv.h

+45-2
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,44 @@
12431243

12441244
#endif // HAS_GRAPHICAL_LCD
12451245

1246+
//
1247+
// Additional options for DGUS / DWIN displays
1248+
//
1249+
#if HAS_DGUS_LCD
1250+
#define DGUS_SERIAL_PORT 2
1251+
#define DGUS_BAUDRATE 115200
1252+
1253+
#define DGUS_RX_BUFFER_SIZE 128
1254+
#define DGUS_TX_BUFFER_SIZE 48
1255+
//#define DGUS_SERIAL_STATS_RX_BUFFER_OVERRUNS // Fix Rx overrun situation (Currently only for AVR)
1256+
1257+
#define DGUS_UPDATE_INTERVAL_MS 500 // (ms) Interval between automatic screen updates
1258+
#define BOOTSCREEN_TIMEOUT 3000 // (ms) Duration to display the boot screen
1259+
1260+
#if EITHER(DGUS_LCD_UI_FYSETC, DGUS_LCD_UI_HIPRECY)
1261+
#define DGUS_PRINT_FILENAME // Display the filename during printing
1262+
#define DGUS_PREHEAT_UI // Display a preheat screen during heatup
1263+
1264+
#if ENABLED(DGUS_LCD_UI_FYSETC)
1265+
//#define DUGS_UI_MOVE_DIS_OPTION // Disabled by default for UI_FYSETC
1266+
#else
1267+
#define DUGS_UI_MOVE_DIS_OPTION // Enabled by default for UI_HIPRECY
1268+
#endif
1269+
1270+
#define DGUS_FILAMENT_LOADUNLOAD
1271+
#if ENABLED(DGUS_FILAMENT_LOADUNLOAD)
1272+
#define DGUS_FILAMENT_PURGE_LENGTH 10
1273+
#define DGUS_FILAMENT_LOAD_LENGTH_PER_TIME 0.5 // (mm) Adjust in proportion to DGUS_UPDATE_INTERVAL_MS
1274+
#endif
1275+
1276+
#define DGUS_UI_WAITING // Show a "waiting" screen between some screens
1277+
#if ENABLED(DGUS_UI_WAITING)
1278+
#define DGUS_UI_WAITING_STATUS 10
1279+
#define DGUS_UI_WAITING_STATUS_PERIOD 8 // Increase to slower waiting status looping
1280+
#endif
1281+
#endif
1282+
#endif // HAS_DGUS_LCD
1283+
12461284
//
12471285
// Touch UI for the FTDI Embedded Video Engine (EVE)
12481286
//
@@ -1438,7 +1476,8 @@
14381476
* Override MIN_PROBE_EDGE for each side of the build plate
14391477
* Useful to get probe points to exact positions on targets or
14401478
* to allow leveling to avoid plate clamps on only specific
1441-
* sides of the bed.
1479+
* sides of the bed. With NOZZLE_AS_PROBE negative values are
1480+
* allowed, to permit probing outside the bed.
14421481
*
14431482
* If you are replacing the prior *_PROBE_BED_POSITION options,
14441483
* LEFT and FRONT values in most cases will map directly over
@@ -2723,7 +2762,11 @@
27232762
#define JOY_Z_PIN 12 // RAMPS: Suggested pin A12 on AUX2
27242763
#define JOY_EN_PIN 44 // RAMPS: Suggested pin D44 on AUX2
27252764

2726-
// Use M119 to find reasonable values after connecting your hardware:
2765+
//#define INVERT_JOY_X // Enable if X direction is reversed
2766+
//#define INVERT_JOY_Y // Enable if Y direction is reversed
2767+
//#define INVERT_JOY_Z // Enable if Z direction is reversed
2768+
2769+
// Use M119 with JOYSTICK_DEBUG to find reasonable values after connecting:
27272770
#define JOY_X_LIMITS { 5600, 8190-100, 8190+100, 10800 } // min, deadzone start, deadzone end, max
27282771
#define JOY_Y_LIMITS { 5600, 8250-100, 8250+100, 11000 }
27292772
#define JOY_Z_LIMITS { 4800, 8080-100, 8080+100, 11550 }

0 commit comments

Comments
 (0)