1
0
forked from me/IronOS

Handle tip connect & disconnect in detection

This commit is contained in:
Ben V. Brown
2021-05-02 16:47:33 +10:00
parent 7a5c0ad20f
commit 1ad00aa8b2
4 changed files with 381 additions and 335 deletions

View File

@@ -76,6 +76,18 @@ void log_system_state(int32_t PWMWattsx10);
// Returns true if the tip is disconnected
bool isTipDisconnected();
// Status LED controls
enum StatusLED {
LED_OFF = 0, // Turn off status led
LED_STANDBY, // unit is in sleep /standby
LED_HEATING, // The unit is heating up to temperature
LED_HOT, // The unit is at operating temperature
LED_COOLING_STILL_HOT, // The unit is off and cooling but still hot
};
void setStatusLED(const enum StatusLED state);
#ifdef __cplusplus
}
#endif