Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: LEX-Demo-Firmware-Logging LEX-Demo-Firmware-Logging
Revision 20:e2a504521b46, committed 2019-08-06
- Comitter:
- omatthews
- Date:
- Tue Aug 06 12:46:10 2019 +0000
- Parent:
- 19:fccdd7127f94
- Child:
- 21:085b53e06065
- Commit message:
- AD_Logging
Changed in this revision
| Heater.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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