From 66db819c9af48c65e7bb8e86c04241e4c7e878c2 Mon Sep 17 00:00:00 2001 From: MoysieWRX Date: Sat, 30 May 2015 22:23:33 +0300 Subject: [PATCH] Updated for Cooling Fan controls Updated for Cooling Fan controls --- globals.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/globals.h b/globals.h index 6db0ad1..7e01eb3 100644 --- a/globals.h +++ b/globals.h @@ -236,6 +236,11 @@ struct config3 { //Page 4 of the config mostly deals with idle control //See ini file for further info struct config4 { + byte FanInv : 1; // Fan output inversion bit + byte FanEnable : 1; // Fan enable bit + byte FanSP; // Cooling fan start temperature + byte FanHyster; // Fan hysteresis + byte iacCLValues[10]; //Closed loop target RPM value byte iacOLStepVal[10]; //Open loop step values for stepper motors byte iacOLPWMVal[10]; //Open loop duty values for PMWM valves @@ -289,6 +294,7 @@ byte pinSpareOut3; //Generic output byte pinSpareOut4; //Generic output byte pinSpareOut5; //Generic output byte pinSpareOut6; //Generic output +byte pinFan; // Cooling fan output // global variables // from speeduino.ino extern struct statuses currentStatus; // from speeduino.ino