Add LCD option BEEP_ON_FEEDRATE_CHANGE (#12774)
This commit is contained in:
parent
d372e7e477
commit
ba7e35cbab
65 changed files with 471 additions and 20 deletions
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -595,6 +595,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -568,6 +568,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -595,6 +595,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -604,6 +604,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 50 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -600,6 +600,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -601,6 +601,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 300 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -597,6 +597,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -609,6 +609,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -598,6 +598,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -598,6 +598,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -598,6 +598,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -598,6 +598,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -598,6 +598,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -598,6 +598,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -598,6 +598,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -598,6 +598,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -598,6 +598,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -598,6 +598,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -598,6 +598,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -596,6 +596,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
//#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -597,6 +597,13 @@
|
|||
#define ENCODER_100X_STEPS_PER_SEC 80 // (steps/s) Encoder rate for 100x speed
|
||||
#endif
|
||||
|
||||
// Play a beep when the feedrate is changed from the Status Screen
|
||||
//#define BEEP_ON_FEEDRATE_CHANGE
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
#define FEEDRATE_CHANGE_BEEP_DURATION 10
|
||||
#define FEEDRATE_CHANGE_BEEP_FREQUENCY 440
|
||||
#endif
|
||||
|
||||
// Include a page of printer information in the LCD Main Menu
|
||||
#define LCD_INFO_MENU
|
||||
|
||||
|
|
|
@ -419,7 +419,8 @@ void MarlinUI::status_screen() {
|
|||
//
|
||||
|
||||
#if DISABLED(PROGRESS_MSG_ONCE) || (PROGRESS_MSG_EXPIRE > 0)
|
||||
millis_t ms = millis();
|
||||
#define GOT_MS
|
||||
const millis_t ms = millis();
|
||||
#endif
|
||||
|
||||
// If the message will blink rather than expire...
|
||||
|
@ -464,30 +465,39 @@ void MarlinUI::status_screen() {
|
|||
|
||||
#endif // HAS_LCD_MENU
|
||||
|
||||
#if ENABLED(ULTIPANEL_FEEDMULTIPLY) && HAS_ENCODER_ACTION
|
||||
#if ENABLED(ULTIPANEL_FEEDMULTIPLY)
|
||||
|
||||
const int16_t old_frm = feedrate_percentage;
|
||||
int16_t new_frm = old_frm + (int32_t)encoderPosition;
|
||||
|
||||
const int16_t new_frm = feedrate_percentage + (int32_t)encoderPosition;
|
||||
// Dead zone at 100% feedrate
|
||||
if ((feedrate_percentage < 100 && new_frm > 100) || (feedrate_percentage > 100 && new_frm < 100)) {
|
||||
feedrate_percentage = 100;
|
||||
encoderPosition = 0;
|
||||
if (old_frm == 100) {
|
||||
if ((int32_t)encoderPosition > ENCODER_FEEDRATE_DEADZONE)
|
||||
new_frm -= ENCODER_FEEDRATE_DEADZONE;
|
||||
else if ((int32_t)encoderPosition < -(ENCODER_FEEDRATE_DEADZONE))
|
||||
new_frm += ENCODER_FEEDRATE_DEADZONE;
|
||||
else
|
||||
new_frm = old_frm;
|
||||
}
|
||||
else if (feedrate_percentage == 100) {
|
||||
if ((int32_t)encoderPosition > ENCODER_FEEDRATE_DEADZONE) {
|
||||
feedrate_percentage += (int32_t)encoderPosition - (ENCODER_FEEDRATE_DEADZONE);
|
||||
encoderPosition = 0;
|
||||
}
|
||||
else if ((int32_t)encoderPosition < -(ENCODER_FEEDRATE_DEADZONE)) {
|
||||
feedrate_percentage += (int32_t)encoderPosition + ENCODER_FEEDRATE_DEADZONE;
|
||||
encoderPosition = 0;
|
||||
}
|
||||
}
|
||||
else {
|
||||
else if ((old_frm < 100 && new_frm > 100) || (old_frm > 100 && new_frm < 100))
|
||||
new_frm = 100;
|
||||
|
||||
new_frm = constrain(new_frm, 10, 999);
|
||||
|
||||
if (old_frm != new_frm) {
|
||||
feedrate_percentage = new_frm;
|
||||
encoderPosition = 0;
|
||||
#if ENABLED(BEEP_ON_FEEDRATE_CHANGE)
|
||||
static millis_t next_beep;
|
||||
#ifndef GOT_MS
|
||||
const millis_t ms = millis();
|
||||
#endif
|
||||
if (ELAPSED(ms, next_beep)) {
|
||||
BUZZ(FEEDRATE_CHANGE_BEEP_DURATION, FEEDRATE_CHANGE_BEEP_FREQUENCY);
|
||||
next_beep = ms + 500UL;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
feedrate_percentage = constrain(feedrate_percentage, 10, 999);
|
||||
|
||||
#endif // ULTIPANEL_FEEDMULTIPLY
|
||||
|
||||
|
|
|
@ -32,5 +32,5 @@ restore_configs
|
|||
opt_set MOTHERBOARD BOARD_RAMPS4DUE_EEF
|
||||
opt_set EXTRUDERS 2
|
||||
opt_set NUM_SERVOS 1
|
||||
opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
|
||||
opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER BEEP_ON_FEEDRATE_CHANGE
|
||||
exec_test $1 $2 "Test RAMPS4DUE with SWITCHING_EXTRUDER"
|
||||
|
|
Reference in a new issue