coincellhell 1.0.x
Data Fields
heater_state Struct Reference

Data Fields

bool enabled
 true if heater is enabled
 
bool ready
 true if heater is close to its set point
 
bool ramp
 true if heater is currently executing a ramp
 
bool fault
 true if the system has detected a fault with this heater
 
fault_t faultType
 the detected fault type as a fault_t enum
 
uint8_t dacCommand
 current command (0-255) that is being sent to the DAC for this heater
 
float setpoint
 current target temperature for this heater
 
float rampTarget
 if a ramp is currently being executed, its final temperature will be set here
 
time_t rampStartTime
 if a ramp is currently being executed, the UNIX timestamp at which it was started
 
time_t rampStopTime
 if a ramp is currently being executed, the UNIX timestamp at it will complete