Heater files
Dependents: LEX-Demo-Firmware-Logging LEX-Demo-Firmware-Logging
Diff: Heater.h
- Revision:
- 2:7f15386fcc90
- Parent:
- 1:4435d407d827
- Child:
- 3:313711a66929
- Child:
- 7:59ece353eea2
--- a/Heater.h Wed Jul 17 13:00:41 2019 +0000 +++ b/Heater.h Wed Jul 17 13:55:33 2019 +0000 @@ -32,12 +32,16 @@ //Public member functions - void read_R(); + void read(); void hold(int hold_time); + + //Getters and setters + void Set_R_set(float R); - + int Get_i(); + int Get_v(); float Get_R(); void turn_on(); @@ -48,8 +52,8 @@ protected: - float curr; - float v; + int curr; + int v; float R; float R_set;