@ -1512,7 +1512,7 @@
//#define I2CPE_ENC_1_TICKS_REV (16 * 200) // Only needed for rotary encoders; number of stepper
//#define I2CPE_ENC_1_TICKS_REV (16 * 200) // Only needed for rotary encoders; number of stepper
// steps per full revolution (motor steps/rev * microstepping)
// steps per full revolution (motor steps/rev * microstepping)
//#define I2CPE_ENC_1_INVERT // Invert the direction of axis travel.
//#define I2CPE_ENC_1_INVERT // Invert the direction of axis travel.
# define I2CPE_ENC_1_EC_METHOD I2CPE_ECM_ NONE // Type of error error correction.
# define I2CPE_ENC_1_EC_METHOD I2CPE_ECM_ MICROSTEP // Type of error error correction.
# define I2CPE_ENC_1_EC_THRESH 0.10 // Threshold size for error (in mm) above which the
# define I2CPE_ENC_1_EC_THRESH 0.10 // Threshold size for error (in mm) above which the
// printer will attempt to correct the error; errors
// printer will attempt to correct the error; errors
// smaller than this are ignored to minimize effects of
// smaller than this are ignored to minimize effects of
@ -1524,7 +1524,7 @@
# define I2CPE_ENC_2_TICKS_UNIT 2048
# define I2CPE_ENC_2_TICKS_UNIT 2048
//#define I2CPE_ENC_2_TICKS_REV (16 * 200)
//#define I2CPE_ENC_2_TICKS_REV (16 * 200)
//#define I2CPE_ENC_2_INVERT
//#define I2CPE_ENC_2_INVERT
# define I2CPE_ENC_2_EC_METHOD I2CPE_ECM_ NONE
# define I2CPE_ENC_2_EC_METHOD I2CPE_ECM_ MICROSTEP
# define I2CPE_ENC_2_EC_THRESH 0.10
# define I2CPE_ENC_2_EC_THRESH 0.10
# define I2CPE_ENC_3_ADDR I2CPE_PRESET_ADDR_Z // Encoder 3. Add additional configuration options
# define I2CPE_ENC_3_ADDR I2CPE_PRESET_ADDR_Z // Encoder 3. Add additional configuration options
@ -1556,7 +1556,7 @@
* this setting determines the minimum update time between checks . A value of 100 works well with
* this setting determines the minimum update time between checks . A value of 100 works well with
* error rolling average when attempting to correct only for skips and not for vibration .
* error rolling average when attempting to correct only for skips and not for vibration .
*/
*/
# define I2CPE_MIN_UPD_TIME_MS 100 // Minimum time in miliseconds between encoder checks.
# define I2CPE_MIN_UPD_TIME_MS 4 // Minimum time in miliseconds between encoder checks.
// Use a rolling average to identify persistant errors that indicate skips, as opposed to vibration and noise.
// Use a rolling average to identify persistant errors that indicate skips, as opposed to vibration and noise.
# define I2CPE_ERR_ROLLING_AVERAGE
# define I2CPE_ERR_ROLLING_AVERAGE