Heater files
Dependents: LEX-Demo-Firmware-Logging LEX-Demo-Firmware-Logging
Diff: Heater.h
- Revision:
- 13:8629d78fd93b
- Parent:
- 11:785a0329f802
diff -r 785a0329f802 -r 8629d78fd93b Heater.h --- a/Heater.h Tue Jul 23 08:04:51 2019 +0000 +++ b/Heater.h Tue Jul 23 10:06:17 2019 +0000 @@ -24,7 +24,7 @@ * @param drive, the motor drive * @param R_ref, the target value for R */ - Heater(int i_port, int v_port, DigitalOut drive, float corr_grad, float corr_int, float R_ref = 1); + Heater(int i_port, int v_port, PwmOut drive, float corr_grad, float corr_int, float R_ref = 1); //Public member functions @@ -64,7 +64,7 @@ int i_port; int v_port; - DigitalOut drive; + PwmOut drive; //Heater correlations give temperature for a given resistance (assume linear relationship) float corr_grad;