Sets ticks directly for heater test
Diff: Heater.h
- Revision:
- 11:785a0329f802
- Parent:
- 10:0e16d8430d66
- Child:
- 12:8a048f111140
- Child:
- 13:8629d78fd93b
diff -r 0e16d8430d66 -r 785a0329f802 Heater.h --- a/Heater.h Mon Jul 22 10:46:26 2019 +0000 +++ b/Heater.h Tue Jul 23 08:04:51 2019 +0000 @@ -11,7 +11,7 @@ #include "ADS8568_ADC.h" #define MEAS_DELAY 40 // measurement delay for ADC -#define N_ROLL_AVG 10 // rolling average for R values +#define N_ROLL_AVG 5 // rolling average for R values #define ALL_CH 15 //value of convst bus to read all chanels simultaneosly class Heater @@ -32,6 +32,7 @@ void hold(int hold_time); void ramp_R(int ramp_time, float R_final, float R_start); void ramp_T(int ramp_time, float T_final, float T_start); + void output(); //Conversions between temperature and resistance float R_to_T(float R);