Sfoglia il codice sorgente

PID_MENU option to save PROGMEM in LCD menus (#13095)

LinFor 6 anni fa
parent
commit
7ee35c2611
90 ha cambiato i file con 268 aggiunte e 164 eliminazioni
  1. 2
    1
      Marlin/Configuration.h
  2. 2
    1
      Marlin/src/config/default/Configuration.h
  3. 2
    1
      Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration.h
  4. 2
    1
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  5. 2
    1
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  6. 2
    1
      Marlin/src/config/examples/Anet/A2/Configuration.h
  7. 2
    1
      Marlin/src/config/examples/Anet/A2plus/Configuration.h
  8. 2
    1
      Marlin/src/config/examples/Anet/A6/Configuration.h
  9. 2
    1
      Marlin/src/config/examples/Anet/A8/Configuration.h
  10. 2
    1
      Marlin/src/config/examples/AnyCubic/i3/Configuration.h
  11. 2
    1
      Marlin/src/config/examples/ArmEd/Configuration.h
  12. 2
    1
      Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
  13. 2
    1
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
  14. 2
    1
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
  15. 2
    1
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  16. 2
    1
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  17. 2
    1
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  18. 2
    1
      Marlin/src/config/examples/Cartesio/Configuration.h
  19. 2
    1
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  20. 2
    1
      Marlin/src/config/examples/Creality/CR-10S/Configuration.h
  21. 2
    1
      Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
  22. 2
    1
      Marlin/src/config/examples/Creality/CR-8/Configuration.h
  23. 2
    1
      Marlin/src/config/examples/Creality/Ender-2/Configuration.h
  24. 2
    1
      Marlin/src/config/examples/Creality/Ender-3/Configuration.h
  25. 2
    1
      Marlin/src/config/examples/Creality/Ender-4/Configuration.h
  26. 2
    1
      Marlin/src/config/examples/Einstart-S/Configuration.h
  27. 2
    1
      Marlin/src/config/examples/Felix/Configuration.h
  28. 2
    1
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  29. 2
    1
      Marlin/src/config/examples/FlashForge/CreatorPro/Configuration.h
  30. 2
    1
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
  31. 2
    1
      Marlin/src/config/examples/Formbot/Raptor/Configuration.h
  32. 2
    1
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h
  33. 2
    1
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h
  34. 2
    1
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  35. 2
    1
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  36. 2
    1
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h
  37. 2
    1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  38. 2
    1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  39. 2
    1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
  40. 2
    1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
  41. 2
    1
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  42. 2
    1
      Marlin/src/config/examples/JGAurora/A5/Configuration.h
  43. 2
    1
      Marlin/src/config/examples/MakerParts/Configuration.h
  44. 2
    1
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  45. 2
    1
      Marlin/src/config/examples/Malyan/M200/Configuration.h
  46. 2
    1
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  47. 2
    1
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  48. 2
    1
      Marlin/src/config/examples/Mks/Robin/Configuration.h
  49. 2
    1
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  50. 2
    1
      Marlin/src/config/examples/RapideLite/RL200/Configuration.h
  51. 2
    1
      Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h
  52. 2
    1
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  53. 2
    1
      Marlin/src/config/examples/RigidBot/Configuration.h
  54. 2
    1
      Marlin/src/config/examples/SCARA/Configuration.h
  55. 2
    1
      Marlin/src/config/examples/STM32F10/Configuration.h
  56. 2
    1
      Marlin/src/config/examples/STM32F4/Configuration.h
  57. 2
    1
      Marlin/src/config/examples/Sanguinololu/Configuration.h
  58. 2
    1
      Marlin/src/config/examples/TheBorg/Configuration.h
  59. 2
    1
      Marlin/src/config/examples/TinyBoy2/Configuration.h
  60. 2
    1
      Marlin/src/config/examples/Tronxy/X1/Configuration.h
  61. 2
    1
      Marlin/src/config/examples/Tronxy/X3A/Configuration.h
  62. 2
    1
      Marlin/src/config/examples/Tronxy/XY100/Configuration.h
  63. 2
    1
      Marlin/src/config/examples/UltiMachine/Archim1/Configuration.h
  64. 2
    1
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h
  65. 2
    1
      Marlin/src/config/examples/VORONDesign/Configuration.h
  66. 2
    1
      Marlin/src/config/examples/Velleman/K8200/Configuration.h
  67. 2
    1
      Marlin/src/config/examples/Velleman/K8400/Configuration.h
  68. 2
    1
      Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
  69. 2
    1
      Marlin/src/config/examples/WASP/PowerWASP/Configuration.h
  70. 2
    1
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h
  71. 2
    1
      Marlin/src/config/examples/adafruit/ST7565/Configuration.h
  72. 2
    1
      Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h
  73. 2
    1
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  74. 2
    1
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h
  75. 2
    1
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
  76. 2
    1
      Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration.h
  77. 2
    1
      Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h
  78. 2
    1
      Marlin/src/config/examples/delta/MKS/SBASE/Configuration.h
  79. 2
    1
      Marlin/src/config/examples/delta/Tevo Little Monster/Configuration.h
  80. 2
    1
      Marlin/src/config/examples/delta/generic/Configuration.h
  81. 2
    1
      Marlin/src/config/examples/delta/kossel_mini/Configuration.h
  82. 2
    1
      Marlin/src/config/examples/delta/kossel_pro/Configuration.h
  83. 2
    1
      Marlin/src/config/examples/delta/kossel_xl/Configuration.h
  84. 2
    1
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
  85. 2
    1
      Marlin/src/config/examples/makibox/Configuration.h
  86. 2
    1
      Marlin/src/config/examples/stm32f103ret6/Configuration.h
  87. 2
    1
      Marlin/src/config/examples/tvrrug/Round2/Configuration.h
  88. 2
    1
      Marlin/src/config/examples/wt150/Configuration.h
  89. 90
    74
      Marlin/src/lcd/menu/menu_advanced.cpp
  90. 2
    2
      Marlin/src/module/temperature.cpp

+ 2
- 1
Marlin/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/default/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX  74      // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Anet/A2/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Anet/A2plus/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Anet/A6/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Anet/A8/Configuration.h Vedi File

@@ -426,7 +426,8 @@
426 426
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
427 427
 #define PID_K1 0.95      // Smoothing factor within any PID loop
428 428
 #if ENABLED(PIDTEMP)
429
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
429
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
430
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
430 431
   //#define PID_DEBUG             // Sends debug data to the serial port.
431 432
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
432 433
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/AnyCubic/i3/Configuration.h Vedi File

@@ -426,7 +426,8 @@
426 426
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
427 427
 #define PID_K1 0.95      // Smoothing factor within any PID loop
428 428
 #if ENABLED(PIDTEMP)
429
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
429
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
430
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
430 431
   //#define PID_DEBUG             // Sends debug data to the serial port.
431 432
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
432 433
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/ArmEd/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/BQ/Hephestos/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h Vedi File

@@ -433,7 +433,8 @@
433 433
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
434 434
 #define PID_K1 0.95      // Smoothing factor within any PID loop
435 435
 #if ENABLED(PIDTEMP)
436
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
436
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
437
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
437 438
   //#define PID_DEBUG             // Sends debug data to the serial port.
438 439
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
439 440
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/BQ/WITBOX/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Cartesio/Configuration.h Vedi File

@@ -426,7 +426,8 @@
426 426
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
427 427
 #define PID_K1 0.95      // Smoothing factor within any PID loop
428 428
 #if ENABLED(PIDTEMP)
429
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
429
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
430
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
430 431
   //#define PID_DEBUG             // Sends debug data to the serial port.
431 432
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
432 433
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Creality/CR-10/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Creality/CR-10S/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h Vedi File

@@ -434,7 +434,8 @@
434 434
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
435 435
 #define PID_K1 0.95      // Smoothing factor within any PID loop
436 436
 #if ENABLED(PIDTEMP)
437
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
437
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
438
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
438 439
   //#define PID_DEBUG             // Sends debug data to the serial port.
439 440
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
440 441
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Creality/CR-8/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Creality/Ender-2/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Creality/Ender-3/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Creality/Ender-4/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Einstart-S/Configuration.h Vedi File

@@ -427,7 +427,8 @@
427 427
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
428 428
 #define PID_K1 0.95      // Smoothing factor within any PID loop
429 429
 #if ENABLED(PIDTEMP)
430
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
430
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
431
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
431 432
   //#define PID_DEBUG             // Sends debug data to the serial port.
432 433
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
433 434
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Felix/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Felix/DUAL/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/FlashForge/CreatorPro/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Formbot/Raptor/Configuration.h Vedi File

@@ -472,7 +472,8 @@
472 472
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
473 473
 #define PID_K1 0.95      // Smoothing factor within any PID loop
474 474
 #if ENABLED(PIDTEMP)
475
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
475
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
476
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
476 477
   //#define PID_DEBUG             // Sends debug data to the serial port.
477 478
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
478 479
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h Vedi File

@@ -440,7 +440,8 @@
440 440
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
441 441
 #define PID_K1 0.95      // Smoothing factor within any PID loop
442 442
 #if ENABLED(PIDTEMP)
443
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
443
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
444
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
444 445
   //#define PID_DEBUG             // Sends debug data to the serial port.
445 446
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
446 447
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h Vedi File

@@ -434,7 +434,8 @@
434 434
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
435 435
 #define PID_K1 0.95      // Smoothing factor within any PID loop
436 436
 #if ENABLED(PIDTEMP)
437
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
437
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
438
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
438 439
   //#define PID_DEBUG             // Sends debug data to the serial port.
439 440
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
440 441
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/JGAurora/A5/Configuration.h Vedi File

@@ -430,7 +430,8 @@
430 430
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
431 431
 #define PID_K1 0.95      // Smoothing factor within any PID loop
432 432
 #if ENABLED(PIDTEMP)
433
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
433
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
434
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
434 435
   //#define PID_DEBUG             // Sends debug data to the serial port.
435 436
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
436 437
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/MakerParts/Configuration.h Vedi File

@@ -445,7 +445,8 @@
445 445
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
446 446
 #define PID_K1 0.95      // Smoothing factor within any PID loop
447 447
 #if ENABLED(PIDTEMP)
448
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
448
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
449
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
449 450
   //#define PID_DEBUG             // Sends debug data to the serial port.
450 451
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
451 452
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Malyan/M150/Configuration.h Vedi File

@@ -433,7 +433,8 @@
433 433
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
434 434
 #define PID_K1 0.95      // Smoothing factor within any PID loop
435 435
 #if ENABLED(PIDTEMP)
436
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
436
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
437
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
437 438
   //#define PID_DEBUG             // Sends debug data to the serial port.
438 439
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
439 440
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Malyan/M200/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Mks/Robin/Configuration.h Vedi File

@@ -426,7 +426,8 @@
426 426
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
427 427
 #define PID_K1 0.95      // Smoothing factor within any PID loop
428 428
 #if ENABLED(PIDTEMP)
429
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
429
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
430
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
430 431
   //#define PID_DEBUG             // Sends debug data to the serial port.
431 432
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
432 433
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Mks/Sbase/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/RapideLite/RL200/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/RigidBot/Configuration.h Vedi File

@@ -428,7 +428,8 @@
428 428
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
429 429
 #define PID_K1 0.95      // Smoothing factor within any PID loop
430 430
 #if ENABLED(PIDTEMP)
431
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
431
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
432
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
432 433
   //#define PID_DEBUG             // Sends debug data to the serial port.
433 434
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
434 435
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/SCARA/Configuration.h Vedi File

@@ -456,7 +456,8 @@
456 456
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
457 457
 #define PID_K1 0.95      // Smoothing factor within any PID loop
458 458
 #if ENABLED(PIDTEMP)
459
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
459
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
460
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
460 461
   //#define PID_DEBUG             // Sends debug data to the serial port.
461 462
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
462 463
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/STM32F10/Configuration.h Vedi File

@@ -426,7 +426,8 @@
426 426
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
427 427
 #define PID_K1 0.95      // Smoothing factor within any PID loop
428 428
 #if ENABLED(PIDTEMP)
429
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
429
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
430
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
430 431
   //#define PID_DEBUG             // Sends debug data to the serial port.
431 432
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
432 433
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/STM32F4/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Sanguinololu/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/TheBorg/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/TinyBoy2/Configuration.h Vedi File

@@ -452,7 +452,8 @@
452 452
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
453 453
 #define PID_K1 0.95      // Smoothing factor within any PID loop
454 454
 #if ENABLED(PIDTEMP)
455
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
455
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
456
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
456 457
   //#define PID_DEBUG             // Sends debug data to the serial port.
457 458
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
458 459
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Tronxy/X1/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Tronxy/X3A/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Tronxy/XY100/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/UltiMachine/Archim1/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/VORONDesign/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Velleman/K8200/Configuration.h Vedi File

@@ -445,7 +445,8 @@
445 445
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
446 446
 #define PID_K1 0.95      // Smoothing factor within any PID loop
447 447
 #if ENABLED(PIDTEMP)
448
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
448
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
449
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
449 450
   //#define PID_DEBUG             // Sends debug data to the serial port.
450 451
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
451 452
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Velleman/K8400/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/WASP/PowerWASP/Configuration.h Vedi File

@@ -444,7 +444,8 @@
444 444
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
445 445
 #define PID_K1 0.95      // Smoothing factor within any PID loop
446 446
 #if ENABLED(PIDTEMP)
447
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
447
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
448
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
448 449
   //#define PID_DEBUG             // Sends debug data to the serial port.
449 450
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
450 451
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/adafruit/ST7565/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h Vedi File

@@ -446,7 +446,8 @@
446 446
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
447 447
 #define PID_K1 0.95      // Smoothing factor within any PID loop
448 448
 #if ENABLED(PIDTEMP)
449
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
449
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
450
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
450 451
   //#define PID_DEBUG             // Sends debug data to the serial port.
451 452
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
452 453
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h Vedi File

@@ -430,7 +430,8 @@
430 430
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
431 431
 #define PID_K1 0.95      // Smoothing factor within any PID loop
432 432
 #if ENABLED(PIDTEMP)
433
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
433
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
434
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
434 435
   //#define PID_DEBUG             // Sends debug data to the serial port.
435 436
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
436 437
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/delta/MKS/SBASE/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/delta/Tevo Little Monster/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/delta/generic/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/delta/kossel_mini/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/delta/kossel_pro/Configuration.h Vedi File

@@ -429,7 +429,8 @@
429 429
 #define PID_MAX  125     // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
430 430
 #define PID_K1 0.95      // Smoothing factor within any PID loop
431 431
 #if ENABLED(PIDTEMP)
432
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
432
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
433
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
433 434
   //#define PID_DEBUG             // Sends debug data to the serial port.
434 435
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
435 436
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/delta/kossel_xl/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h Vedi File

@@ -433,7 +433,8 @@
433 433
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
434 434
 #define PID_K1 0.95      // Smoothing factor within any PID loop
435 435
 #if ENABLED(PIDTEMP)
436
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
436
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
437
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
437 438
   //#define PID_DEBUG             // Sends debug data to the serial port.
438 439
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
439 440
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/makibox/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/stm32f103ret6/Configuration.h Vedi File

@@ -426,7 +426,8 @@
426 426
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
427 427
 #define PID_K1 0.95      // Smoothing factor within any PID loop
428 428
 #if ENABLED(PIDTEMP)
429
-  #define PID_AUTOTUNE_MENU       // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
429
+  #define PID_EDIT_MENU           // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
430
+  #define PID_AUTOTUNE_MENU       // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
430 431
   //#define PID_DEBUG             // Sends debug data to the serial port.
431 432
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
432 433
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/tvrrug/Round2/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 2
- 1
Marlin/src/config/examples/wt150/Configuration.h Vedi File

@@ -425,7 +425,8 @@
425 425
 #define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
426 426
 #define PID_K1 0.95      // Smoothing factor within any PID loop
427 427
 #if ENABLED(PIDTEMP)
428
-  //#define PID_AUTOTUNE_MENU     // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
428
+  //#define PID_EDIT_MENU         // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
429
+  //#define PID_AUTOTUNE_MENU     // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
429 430
   //#define PID_DEBUG             // Sends debug data to the serial port.
430 431
   //#define PID_OPENLOOP 1        // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
431 432
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

+ 90
- 74
Marlin/src/lcd/menu/menu_advanced.cpp Vedi File

@@ -262,7 +262,7 @@ void menu_tmc();
262 262
 
263 263
 #endif // PID_AUTOTUNE_MENU
264 264
 
265
-#if ENABLED(PIDTEMP)
265
+#if ENABLED(PID_EDIT_MENU)
266 266
 
267 267
   float raw_Ki, raw_Kd; // place-holders for Ki and Kd edits
268 268
 
@@ -286,107 +286,121 @@ void menu_tmc();
286 286
     void copy_and_scalePID_i_E ## N() { copy_and_scalePID_i(N); } \
287 287
     void copy_and_scalePID_d_E ## N() { copy_and_scalePID_d(N); }
288 288
 
289
-  #if ENABLED(PID_AUTOTUNE_MENU)
290
-    #define DEFINE_PIDTEMP_FUNCS(N) \
291
-      _DEFINE_PIDTEMP_BASE_FUNCS(N); \
292
-      void lcd_autotune_callback_E ## N() { _lcd_autotune(N); } typedef void _pid_##N##_void
293
-  #else
294
-    #define DEFINE_PIDTEMP_FUNCS(N) _DEFINE_PIDTEMP_BASE_FUNCS(N) typedef void _pid_##N##_void
295
-  #endif
289
+#else
296 290
 
297
-  DEFINE_PIDTEMP_FUNCS(0);
298
-  #if ENABLED(PID_PARAMS_PER_HOTEND)
299
-    #if HOTENDS > 1
300
-      DEFINE_PIDTEMP_FUNCS(1);
301
-      #if HOTENDS > 2
302
-        DEFINE_PIDTEMP_FUNCS(2);
303
-        #if HOTENDS > 3
304
-          DEFINE_PIDTEMP_FUNCS(3);
305
-          #if HOTENDS > 4
306
-            DEFINE_PIDTEMP_FUNCS(4);
307
-            #if HOTENDS > 5
308
-              DEFINE_PIDTEMP_FUNCS(5);
309
-            #endif // HOTENDS > 5
310
-          #endif // HOTENDS > 4
311
-        #endif // HOTENDS > 3
312
-      #endif // HOTENDS > 2
313
-    #endif // HOTENDS > 1
314
-  #endif // PID_PARAMS_PER_HOTEND
291
+  #define _DEFINE_PIDTEMP_BASE_FUNCS(N) //
292
+
293
+#endif
315 294
 
316
-#endif // PIDTEMP
295
+#if ENABLED(PID_AUTOTUNE_MENU)
296
+  #define DEFINE_PIDTEMP_FUNCS(N) \
297
+    _DEFINE_PIDTEMP_BASE_FUNCS(N); \
298
+    void lcd_autotune_callback_E ## N() { _lcd_autotune(N); } //
299
+#else
300
+  #define DEFINE_PIDTEMP_FUNCS(N) _DEFINE_PIDTEMP_BASE_FUNCS(N); //
301
+#endif
302
+
303
+DEFINE_PIDTEMP_FUNCS(0);
304
+#if ENABLED(PID_PARAMS_PER_HOTEND)
305
+  #if HOTENDS > 1
306
+    DEFINE_PIDTEMP_FUNCS(1);
307
+    #if HOTENDS > 2
308
+      DEFINE_PIDTEMP_FUNCS(2);
309
+      #if HOTENDS > 3
310
+        DEFINE_PIDTEMP_FUNCS(3);
311
+        #if HOTENDS > 4
312
+          DEFINE_PIDTEMP_FUNCS(4);
313
+          #if HOTENDS > 5
314
+            DEFINE_PIDTEMP_FUNCS(5);
315
+          #endif // HOTENDS > 5
316
+        #endif // HOTENDS > 4
317
+      #endif // HOTENDS > 3
318
+    #endif // HOTENDS > 2
319
+  #endif // HOTENDS > 1
320
+#endif // PID_PARAMS_PER_HOTEND
321
+
322
+#define SHOW_MENU_ADVANCED_TEMPERATURE ((ENABLED(AUTOTEMP) && HAS_TEMP_HOTEND) || ENABLED(PID_AUTOTUNE_MENU) || ENABLED(PID_EDIT_MENU))
317 323
 
318 324
 //
319 325
 // Advanced Settings > Temperature
320 326
 //
321
-void menu_advanced_temperature() {
322
-  START_MENU();
323
-  MENU_BACK(MSG_ADVANCED_SETTINGS);
324
-  //
325
-  // Autotemp, Min, Max, Fact
326
-  //
327
-  #if ENABLED(AUTOTEMP) && HAS_TEMP_HOTEND
328
-    MENU_ITEM_EDIT(bool, MSG_AUTOTEMP, &planner.autotemp_enabled);
329
-    MENU_ITEM_EDIT(float3, MSG_MIN, &planner.autotemp_min, 0, float(HEATER_0_MAXTEMP) - 15);
330
-    MENU_ITEM_EDIT(float3, MSG_MAX, &planner.autotemp_max, 0, float(HEATER_0_MAXTEMP) - 15);
331
-    MENU_ITEM_EDIT(float52, MSG_FACTOR, &planner.autotemp_factor, 0, 1);
332
-  #endif
327
+#if SHOW_MENU_ADVANCED_TEMPERATURE
333 328
 
334
-  //
335
-  // PID-P, PID-I, PID-D, PID-C, PID Autotune
336
-  // PID-P E1, PID-I E1, PID-D E1, PID-C E1, PID Autotune E1
337
-  // PID-P E2, PID-I E2, PID-D E2, PID-C E2, PID Autotune E2
338
-  // PID-P E3, PID-I E3, PID-D E3, PID-C E3, PID Autotune E3
339
-  // PID-P E4, PID-I E4, PID-D E4, PID-C E4, PID Autotune E4
340
-  // PID-P E5, PID-I E5, PID-D E5, PID-C E5, PID Autotune E5
341
-  //
342
-  #if ENABLED(PIDTEMP)
329
+  void menu_advanced_temperature() {
330
+    START_MENU();
331
+    MENU_BACK(MSG_ADVANCED_SETTINGS);
332
+    //
333
+    // Autotemp, Min, Max, Fact
334
+    //
335
+    #if ENABLED(AUTOTEMP) && HAS_TEMP_HOTEND
336
+      MENU_ITEM_EDIT(bool, MSG_AUTOTEMP, &planner.autotemp_enabled);
337
+      MENU_ITEM_EDIT(float3, MSG_MIN, &planner.autotemp_min, 0, float(HEATER_0_MAXTEMP) - 15);
338
+      MENU_ITEM_EDIT(float3, MSG_MAX, &planner.autotemp_max, 0, float(HEATER_0_MAXTEMP) - 15);
339
+      MENU_ITEM_EDIT(float52, MSG_FACTOR, &planner.autotemp_factor, 0, 1);
340
+    #endif
341
+
342
+    //
343
+    // PID-P, PID-I, PID-D, PID-C, PID Autotune
344
+    // PID-P E1, PID-I E1, PID-D E1, PID-C E1, PID Autotune E1
345
+    // PID-P E2, PID-I E2, PID-D E2, PID-C E2, PID Autotune E2
346
+    // PID-P E3, PID-I E3, PID-D E3, PID-C E3, PID Autotune E3
347
+    // PID-P E4, PID-I E4, PID-D E4, PID-C E4, PID Autotune E4
348
+    // PID-P E5, PID-I E5, PID-D E5, PID-C E5, PID Autotune E5
349
+    //
350
+    #if ENABLED(PID_EDIT_MENU)
351
+
352
+      #define _PID_BASE_MENU_ITEMS(ELABEL, eindex) \
353
+        raw_Ki = unscalePID_i(PID_PARAM(Ki, eindex)); \
354
+        raw_Kd = unscalePID_d(PID_PARAM(Kd, eindex)); \
355
+        MENU_ITEM_EDIT(float52sign, MSG_PID_P ELABEL, &PID_PARAM(Kp, eindex), 1, 9990); \
356
+        MENU_ITEM_EDIT_CALLBACK(float52sign, MSG_PID_I ELABEL, &raw_Ki, 0.01f, 9990, copy_and_scalePID_i_E ## eindex); \
357
+        MENU_ITEM_EDIT_CALLBACK(float52sign, MSG_PID_D ELABEL, &raw_Kd, 1, 9990, copy_and_scalePID_d_E ## eindex)
358
+
359
+      #if ENABLED(PID_EXTRUSION_SCALING)
360
+        #define _PID_EDIT_MENU_ITEMS(ELABEL, eindex) \
361
+          _PID_BASE_MENU_ITEMS(ELABEL, eindex); \
362
+          MENU_ITEM_EDIT(float3, MSG_PID_C ELABEL, &PID_PARAM(Kc, eindex), 1, 9990)
363
+      #else
364
+        #define _PID_EDIT_MENU_ITEMS(ELABEL, eindex) _PID_BASE_MENU_ITEMS(ELABEL, eindex)
365
+      #endif
343 366
 
344
-    #define _PID_BASE_MENU_ITEMS(ELABEL, eindex) \
345
-      raw_Ki = unscalePID_i(PID_PARAM(Ki, eindex)); \
346
-      raw_Kd = unscalePID_d(PID_PARAM(Kd, eindex)); \
347
-      MENU_ITEM_EDIT(float52sign, MSG_PID_P ELABEL, &PID_PARAM(Kp, eindex), 1, 9990); \
348
-      MENU_ITEM_EDIT_CALLBACK(float52sign, MSG_PID_I ELABEL, &raw_Ki, 0.01f, 9990, copy_and_scalePID_i_E ## eindex); \
349
-      MENU_ITEM_EDIT_CALLBACK(float52sign, MSG_PID_D ELABEL, &raw_Kd, 1, 9990, copy_and_scalePID_d_E ## eindex)
350
-
351
-    #if ENABLED(PID_EXTRUSION_SCALING)
352
-      #define _PID_MENU_ITEMS(ELABEL, eindex) \
353
-        _PID_BASE_MENU_ITEMS(ELABEL, eindex); \
354
-        MENU_ITEM_EDIT(float3, MSG_PID_C ELABEL, &PID_PARAM(Kc, eindex), 1, 9990)
355 367
     #else
356
-      #define _PID_MENU_ITEMS(ELABEL, eindex) _PID_BASE_MENU_ITEMS(ELABEL, eindex)
368
+
369
+      #define _PID_EDIT_MENU_ITEMS(ELABEL, eindex) NOOP
370
+
357 371
     #endif
358 372
 
359 373
     #if ENABLED(PID_AUTOTUNE_MENU)
360
-      #define PID_MENU_ITEMS(ELABEL, eindex) \
361
-        _PID_MENU_ITEMS(ELABEL, eindex); \
374
+      #define PID_EDIT_MENU_ITEMS(ELABEL, eindex) \
375
+        _PID_EDIT_MENU_ITEMS(ELABEL, eindex); \
362 376
         MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(int3, MSG_PID_AUTOTUNE ELABEL, &autotune_temp[eindex], 150, heater_maxtemp[eindex] - 15, lcd_autotune_callback_E ## eindex)
363 377
     #else
364
-      #define PID_MENU_ITEMS(ELABEL, eindex) _PID_MENU_ITEMS(ELABEL, eindex)
378
+      #define PID_EDIT_MENU_ITEMS(ELABEL, eindex) _PID_EDIT_MENU_ITEMS(ELABEL, eindex)
365 379
     #endif
366 380
 
367 381
     #if ENABLED(PID_PARAMS_PER_HOTEND) && HOTENDS > 1
368
-      PID_MENU_ITEMS(" " MSG_E1, 0);
369
-      PID_MENU_ITEMS(" " MSG_E2, 1);
382
+      PID_EDIT_MENU_ITEMS(" " MSG_E1, 0);
383
+      PID_EDIT_MENU_ITEMS(" " MSG_E2, 1);
370 384
       #if HOTENDS > 2
371
-        PID_MENU_ITEMS(" " MSG_E3, 2);
385
+        PID_EDIT_MENU_ITEMS(" " MSG_E3, 2);
372 386
         #if HOTENDS > 3
373
-          PID_MENU_ITEMS(" " MSG_E4, 3);
387
+          PID_EDIT_MENU_ITEMS(" " MSG_E4, 3);
374 388
           #if HOTENDS > 4
375
-            PID_MENU_ITEMS(" " MSG_E5, 4);
389
+            PID_EDIT_MENU_ITEMS(" " MSG_E5, 4);
376 390
             #if HOTENDS > 5
377
-              PID_MENU_ITEMS(" " MSG_E6, 5);
391
+              PID_EDIT_MENU_ITEMS(" " MSG_E6, 5);
378 392
             #endif // HOTENDS > 5
379 393
           #endif // HOTENDS > 4
380 394
         #endif // HOTENDS > 3
381 395
       #endif // HOTENDS > 2
382 396
     #else // !PID_PARAMS_PER_HOTEND || HOTENDS == 1
383
-      PID_MENU_ITEMS("", 0);
397
+      PID_EDIT_MENU_ITEMS("", 0);
384 398
     #endif // !PID_PARAMS_PER_HOTEND || HOTENDS == 1
385 399
 
386
-  #endif // PIDTEMP
400
+    END_MENU();
401
+  }
387 402
 
388
-  END_MENU();
389
-}
403
+#endif // SHOW_MENU_ADVANCED_TEMPERATURE
390 404
 
391 405
 #if DISABLED(SLIM_LCD_MENUS)
392 406
 
@@ -640,7 +654,9 @@ void menu_advanced_settings() {
640 654
     MENU_ITEM(submenu, MSG_TMC_DRIVERS, menu_tmc);
641 655
   #endif
642 656
 
643
-  MENU_ITEM(submenu, MSG_TEMPERATURE, menu_advanced_temperature);
657
+  #if SHOW_MENU_ADVANCED_TEMPERATURE
658
+    MENU_ITEM(submenu, MSG_TEMPERATURE, menu_advanced_temperature);
659
+  #endif
644 660
 
645 661
   #if DISABLED(NO_VOLUMETRICS) || ENABLED(ADVANCED_PAUSE_FEATURE)
646 662
     MENU_ITEM(submenu, MSG_FILAMENT, menu_advanced_filament);

+ 2
- 2
Marlin/src/module/temperature.cpp Vedi File

@@ -708,14 +708,14 @@ float Temperature::get_pid_output(const int8_t e) {
708 708
   #else
709 709
     #define _HOTEND_TEST (e == active_extruder)
710 710
   #endif
711
+  float pid_output;
711 712
   #if ENABLED(PIDTEMP)
712 713
     #if DISABLED(PID_OPENLOOP)
713 714
       static hotend_pid_t work_pid[HOTENDS];
714 715
       static float temp_iState[HOTENDS] = { 0 },
715 716
                    temp_dState[HOTENDS] = { 0 };
716 717
       static bool pid_reset[HOTENDS] = { false };
717
-      float pid_output,
718
-            pid_error = target_temperature[HOTEND_INDEX] - current_temperature[HOTEND_INDEX];
718
+      float pid_error = target_temperature[HOTEND_INDEX] - current_temperature[HOTEND_INDEX];
719 719
       work_pid[HOTEND_INDEX].Kd = PID_K2 * PID_PARAM(Kd, HOTEND_INDEX) * (current_temperature[HOTEND_INDEX] - temp_dState[HOTEND_INDEX]) + float(PID_K1) * work_pid[HOTEND_INDEX].Kd;
720 720
       temp_dState[HOTEND_INDEX] = current_temperature[HOTEND_INDEX];
721 721
       #if HEATER_IDLE_HANDLER

Loading…
Annulla
Salva