瀏覽代碼

Correct analog sampling time for additional A to D sample

Adjusted the  #define PID_dT to reflect 10 A to D sample steps, vs
original 8.
Filip Mulier 10 年之前
父節點
當前提交
fe3a09bbcf
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/Configuration.h

+ 1
- 1
Marlin/Configuration.h 查看文件

@@ -185,7 +185,7 @@
185 185
                                   // is more then PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
186 186
   #define PID_INTEGRAL_DRIVE_MAX 255  //limit for the integral term
187 187
   #define K1 0.95 //smoothing factor within the PID
188
-  #define PID_dT ((OVERSAMPLENR * 8.0)/(F_CPU / 64.0 / 256.0)) //sampling period of the temperature routine
188
+  #define PID_dT ((OVERSAMPLENR * 10.0)/(F_CPU / 64.0 / 256.0)) //sampling period of the temperature routine
189 189
 
190 190
 // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
191 191
 // Ultimaker

Loading…
取消
儲存