Heater files
Dependents: LEX-Demo-Firmware-Logging LEX-Demo-Firmware-Logging
Diff: Heater.h
- Revision:
- 20:e2a504521b46
- Parent:
- 19:fccdd7127f94
diff -r fccdd7127f94 -r e2a504521b46 Heater.h --- a/Heater.h Tue Jul 30 21:32:49 2019 +0000 +++ b/Heater.h Tue Aug 06 12:46:10 2019 +0000 @@ -21,7 +21,7 @@ #define Kd 0.0f //Differentiator gain #define WIND_UP_LIMIT 0.01f //The change in error which turns off the integral term #define PWM_PERIOD 5 //Period of Pwm for the motor in us -#define LOG_LIM 100 //Number of reads before the result is logged +#define LOG_LIM 1 //Number of reads before the result is logged #define GUARD_PWM_RATIO 0.25 //Ratio of guard duty cycle to heater duty cycle