Sets ticks directly for heater test
Diff: Heater.h
- Revision:
- 6:71d9c10fca4a
- Parent:
- 4:29ffcc7b410e
diff -r 29ffcc7b410e -r 71d9c10fca4a Heater.h --- a/Heater.h Thu Jul 18 12:17:42 2019 +0000 +++ b/Heater.h Thu Jul 18 16:27:37 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 @@ -63,7 +63,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;