summaryrefslogtreecommitdiff
path: root/Tonokip_Firmware/configuration.h
diff options
context:
space:
mode:
authorkliment <kliment.yanev@gmail.com>2011-04-27 23:30:58 +0200
committerkliment <kliment.yanev@gmail.com>2011-04-27 23:30:58 +0200
commitef8099b6dd474a5630bfec49538c88c8b05e97e1 (patch)
treeab587a3367b3dcfbb0fcc9089c16ded977c342e7 /Tonokip_Firmware/configuration.h
parent6becb19dc530abebf30b69ba8bd3d7fd34907b49 (diff)
Added PWM control to fan pin, added smoothing code for erratic gen6 temp readings
Diffstat (limited to 'Tonokip_Firmware/configuration.h')
-rw-r--r--Tonokip_Firmware/configuration.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tonokip_Firmware/configuration.h b/Tonokip_Firmware/configuration.h
index 819c2c3..8f8dbb0 100644
--- a/Tonokip_Firmware/configuration.h
+++ b/Tonokip_Firmware/configuration.h
@@ -26,6 +26,10 @@ float min_constant_speed_units = 0.6; // the minimum units of an accelerated mov
#define PID_DGAIN 100 //100 is 1.0
#endif
+//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
+
// Select one of these only to define how the nozzle temp is read.
#define HEATER_USES_THERMISTOR
//#define HEATER_USES_AD595