Heater for threaded program
Dependents: LEX_Threaded_Programming_V3
Diff: Heater.h
- Revision:
- 32:34921454e932
- Parent:
- 31:7c6f05326c4d
- Child:
- 34:294adcc3e4b2
diff -r 7c6f05326c4d -r 34921454e932 Heater.h --- a/Heater.h Fri Aug 30 14:58:47 2019 +0000 +++ b/Heater.h Wed Sep 04 10:18:17 2019 +0000 @@ -31,15 +31,15 @@ **/ Heater(const int i_port, const int v_port, FastPWM * drive, FastPWM * guard, ADS8568_ADC * adc, DigitalIn adc_busy, const memspcr_ThermalConfiguration & thermal = memspcr_ThermalConfiguration_init_zero); + //Public member functions - void read(); //Updates the resistance and error values for the heater - void update(); //Holds R_ref for hold_time miliseconds + void read(); //Updates the resistance and error values for the heater + void update(); //Holds R_ref for hold_time miliseconds void turn_on(); //Turns the heater on void turn_off(); //Turns the heater off - - //Getters and setters + //Getters and setters void Set_ref(float R); void Set_D(float D); int Get_D() const;