diff options
author | kliment <kliment.yanev@gmail.com> | 2011-05-15 14:08:04 +0200 |
---|---|---|
committer | kliment <kliment.yanev@gmail.com> | 2011-05-15 14:08:04 +0200 |
commit | 484b3b087e5070604efd731c6533fa960fe442fe (patch) | |
tree | a326feb220e8914c06baf0324ae7f909178319de /Tonokip_Firmware/configuration.h | |
parent | 86f43686c88fa0f5bf6bbb38982ce1a7ea1ad967 (diff) |
Make temperature check interval constant regardless of whether a move is happening or not - this improved PID performance
Make temp check interval configurable.
Make temp tables static to save RAM.
Diffstat (limited to 'Tonokip_Firmware/configuration.h')
-rw-r--r-- | Tonokip_Firmware/configuration.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tonokip_Firmware/configuration.h b/Tonokip_Firmware/configuration.h index 47466ae..8ef28e4 100644 --- a/Tonokip_Firmware/configuration.h +++ b/Tonokip_Firmware/configuration.h @@ -50,6 +50,9 @@ float min_constant_speed_units = 2; // the minimum units of an accelerated move #define PID_DGAIN 100 //100 is 1.0 #endif +//How often should the heater check for new temp readings, in milliseconds +#define HEATER_CHECK_INTERVAL 50 + //Experimental temperature smoothing - only uncomment this if your temp readings are noisy //#define SMOOTHING 1 //#define SMOOTHFACTOR 16 //best to use a power of two here - determines how many values are averaged together by the smoothing algorithm |