Merge branch 'pr-lite-st7920-status' of github.com:marcio-ao/Marlin into pr-lite-st7920-status
This commit is contained in:
		@@ -109,7 +109,7 @@
 | 
			
		||||
/**
 | 
			
		||||
 * Select a secondary serial port on the board to use for communication with the host.
 | 
			
		||||
 * This allows the connection of wireless adapters (for instance) to non-default port pins.
 | 
			
		||||
 * Serial port -1 is the USB emulated serial port, if avaialble.
 | 
			
		||||
 * Serial port -1 is the USB emulated serial port, if available.
 | 
			
		||||
 *
 | 
			
		||||
 * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
 | 
			
		||||
 */
 | 
			
		||||
@@ -1133,6 +1133,9 @@
 | 
			
		||||
  #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
 | 
			
		||||
  #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
 | 
			
		||||
 | 
			
		||||
  //#define UBL_Z_RAISE_WHEN_OFF_MESH 2.5 // When the nozzle is off the mesh, this value is used
 | 
			
		||||
                                          // as the Z-Height correction value.
 | 
			
		||||
 | 
			
		||||
#elif ENABLED(MESH_BED_LEVELING)
 | 
			
		||||
 | 
			
		||||
  //===========================================================================
 | 
			
		||||
 
 | 
			
		||||
@@ -185,7 +185,7 @@
 | 
			
		||||
 */
 | 
			
		||||
//#define USE_CONTROLLER_FAN
 | 
			
		||||
#if ENABLED(USE_CONTROLLER_FAN)
 | 
			
		||||
  //#define CONTROLLER_FAN_PIN FAN1_PIN  // Set a custom pin for the controller fan
 | 
			
		||||
  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
 | 
			
		||||
  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
 | 
			
		||||
  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
 | 
			
		||||
#endif
 | 
			
		||||
@@ -362,6 +362,9 @@
 | 
			
		||||
// When G28 is called, this option will make Y home before X
 | 
			
		||||
//#define HOME_Y_BEFORE_X
 | 
			
		||||
 | 
			
		||||
// Enable this if X or Y can't home without homing the other axis first.
 | 
			
		||||
//#define CODEPENDENT_XY_HOMING
 | 
			
		||||
 | 
			
		||||
// @section machine
 | 
			
		||||
 | 
			
		||||
#define AXIS_RELATIVE_MODES {false, false, false, false}
 | 
			
		||||
@@ -458,7 +461,8 @@
 | 
			
		||||
 | 
			
		||||
//#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
 | 
			
		||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8
 | 
			
		||||
// Actual motor currents in Amps, need as many here as DIGIPOT_I2C_NUM_CHANNELS
 | 
			
		||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
 | 
			
		||||
// These correspond to the physical drivers, so be mindful if the order is changed.
 | 
			
		||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 }  //  AZTEEG_X3_PRO
 | 
			
		||||
 | 
			
		||||
//===========================================================================
 | 
			
		||||
@@ -489,6 +493,9 @@
 | 
			
		||||
// The timeout (in ms) to return to the status screen from sub-menus
 | 
			
		||||
//#define LCD_TIMEOUT_TO_STATUS 15000
 | 
			
		||||
 | 
			
		||||
// Add an 'M73' G-code to set the current percentage
 | 
			
		||||
//#define LCD_SET_PROGRESS_MANUALLY
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * LED Control Menu
 | 
			
		||||
 * Enable this feature to add LED Control to the LCD menu
 | 
			
		||||
@@ -579,9 +586,6 @@
 | 
			
		||||
    //#define LCD_PROGRESS_BAR_TEST
 | 
			
		||||
  #endif
 | 
			
		||||
 | 
			
		||||
  // Add an 'M73' G-code to set the current percentage
 | 
			
		||||
  //#define LCD_SET_PROGRESS_MANUALLY
 | 
			
		||||
 | 
			
		||||
  // This allows hosts to request long names for files and folders with M33
 | 
			
		||||
  //#define LONG_FILENAME_HOST_SUPPORT
 | 
			
		||||
 | 
			
		||||
@@ -641,6 +645,22 @@
 | 
			
		||||
  // Swap the CW/CCW indicators in the graphics overlay
 | 
			
		||||
  //#define OVERLAY_GFX_REVERSE
 | 
			
		||||
 | 
			
		||||
  #if ENABLED(U8GLIB_ST7920)
 | 
			
		||||
    /**
 | 
			
		||||
     * ST7920-based LCDs can emulate a 16 x 4 character display using
 | 
			
		||||
     * the ST7920 character-generator for very fast screen updates.
 | 
			
		||||
     * Enable LIGHTWEIGHT_UI to use this special display mode.
 | 
			
		||||
     *
 | 
			
		||||
     * Since LIGHTWEIGHT_UI has limited space, the position and status
 | 
			
		||||
     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
 | 
			
		||||
     * length of time to display the status message before clearing.
 | 
			
		||||
     */
 | 
			
		||||
    //#define LIGHTWEIGHT_UI
 | 
			
		||||
    #if ENABLED(LIGHTWEIGHT_UI)
 | 
			
		||||
      #define STATUS_EXPIRE_SECONDS 20
 | 
			
		||||
    #endif
 | 
			
		||||
  #endif
 | 
			
		||||
 | 
			
		||||
#endif // DOGLCD
 | 
			
		||||
 | 
			
		||||
// @section safety
 | 
			
		||||
 
 | 
			
		||||
@@ -109,7 +109,7 @@
 | 
			
		||||
/**
 | 
			
		||||
 * Select a secondary serial port on the board to use for communication with the host.
 | 
			
		||||
 * This allows the connection of wireless adapters (for instance) to non-default port pins.
 | 
			
		||||
 * Serial port -1 is the USB emulated serial port, if avaialble.
 | 
			
		||||
 * Serial port -1 is the USB emulated serial port, if available.
 | 
			
		||||
 *
 | 
			
		||||
 * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
 | 
			
		||||
 */
 | 
			
		||||
@@ -1006,6 +1006,9 @@
 | 
			
		||||
  #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
 | 
			
		||||
  #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
 | 
			
		||||
 | 
			
		||||
  //#define UBL_Z_RAISE_WHEN_OFF_MESH 2.5 // When the nozzle is off the mesh, this value is used
 | 
			
		||||
                                          // as the Z-Height correction value.
 | 
			
		||||
 | 
			
		||||
#elif ENABLED(MESH_BED_LEVELING)
 | 
			
		||||
 | 
			
		||||
  //===========================================================================
 | 
			
		||||
 
 | 
			
		||||
@@ -185,7 +185,7 @@
 | 
			
		||||
 */
 | 
			
		||||
//#define USE_CONTROLLER_FAN
 | 
			
		||||
#if ENABLED(USE_CONTROLLER_FAN)
 | 
			
		||||
  //#define CONTROLLER_FAN_PIN FAN1_PIN  // Set a custom pin for the controller fan
 | 
			
		||||
  //#define CONTROLLER_FAN_PIN -1        // Set a custom pin for the controller fan
 | 
			
		||||
  #define CONTROLLERFAN_SECS 60          // Duration in seconds for the fan to run after all motors are disabled
 | 
			
		||||
  #define CONTROLLERFAN_SPEED 255        // 255 == full speed
 | 
			
		||||
#endif
 | 
			
		||||
@@ -362,6 +362,9 @@
 | 
			
		||||
// When G28 is called, this option will make Y home before X
 | 
			
		||||
//#define HOME_Y_BEFORE_X
 | 
			
		||||
 | 
			
		||||
// Enable this if X or Y can't home without homing the other axis first.
 | 
			
		||||
//#define CODEPENDENT_XY_HOMING
 | 
			
		||||
 | 
			
		||||
// @section machine
 | 
			
		||||
 | 
			
		||||
#define AXIS_RELATIVE_MODES {false, false, false, false}
 | 
			
		||||
@@ -458,7 +461,8 @@
 | 
			
		||||
 | 
			
		||||
//#define DIGIPOT_MCP4018          // Requires library from https://github.com/stawel/SlowSoftI2CMaster
 | 
			
		||||
#define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT: 4     AZTEEG_X3_PRO: 8
 | 
			
		||||
// Actual motor currents in Amps, need as many here as DIGIPOT_I2C_NUM_CHANNELS
 | 
			
		||||
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
 | 
			
		||||
// These correspond to the physical drivers, so be mindful if the order is changed.
 | 
			
		||||
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 }  //  AZTEEG_X3_PRO
 | 
			
		||||
 | 
			
		||||
//===========================================================================
 | 
			
		||||
@@ -489,6 +493,9 @@
 | 
			
		||||
// The timeout (in ms) to return to the status screen from sub-menus
 | 
			
		||||
//#define LCD_TIMEOUT_TO_STATUS 15000
 | 
			
		||||
 | 
			
		||||
// Add an 'M73' G-code to set the current percentage
 | 
			
		||||
//#define LCD_SET_PROGRESS_MANUALLY
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * LED Control Menu
 | 
			
		||||
 * Enable this feature to add LED Control to the LCD menu
 | 
			
		||||
@@ -579,9 +586,6 @@
 | 
			
		||||
    //#define LCD_PROGRESS_BAR_TEST
 | 
			
		||||
  #endif
 | 
			
		||||
 | 
			
		||||
  // Add an 'M73' G-code to set the current percentage
 | 
			
		||||
  //#define LCD_SET_PROGRESS_MANUALLY
 | 
			
		||||
 | 
			
		||||
  // This allows hosts to request long names for files and folders with M33
 | 
			
		||||
  //#define LONG_FILENAME_HOST_SUPPORT
 | 
			
		||||
 | 
			
		||||
@@ -641,6 +645,22 @@
 | 
			
		||||
  // Swap the CW/CCW indicators in the graphics overlay
 | 
			
		||||
  //#define OVERLAY_GFX_REVERSE
 | 
			
		||||
 | 
			
		||||
  #if ENABLED(U8GLIB_ST7920)
 | 
			
		||||
    /**
 | 
			
		||||
     * ST7920-based LCDs can emulate a 16 x 4 character display using
 | 
			
		||||
     * the ST7920 character-generator for very fast screen updates.
 | 
			
		||||
     * Enable LIGHTWEIGHT_UI to use this special display mode.
 | 
			
		||||
     *
 | 
			
		||||
     * Since LIGHTWEIGHT_UI has limited space, the position and status
 | 
			
		||||
     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
 | 
			
		||||
     * length of time to display the status message before clearing.
 | 
			
		||||
     */
 | 
			
		||||
    //#define LIGHTWEIGHT_UI
 | 
			
		||||
    #if ENABLED(LIGHTWEIGHT_UI)
 | 
			
		||||
      #define STATUS_EXPIRE_SECONDS 20
 | 
			
		||||
    #endif
 | 
			
		||||
  #endif
 | 
			
		||||
 | 
			
		||||
#endif // DOGLCD
 | 
			
		||||
 | 
			
		||||
// @section safety
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user