ESP32_powerMC/firmware/error.h

11 lines
434 B
C
Raw Normal View History

2024-02-07 21:34:37 +01:00
#define ERROR_NONE 0b0000000000000000
#define ERROR_MAX_CURRENT_EXCEEDED 0b0000000000000001
#define ERROR_CURRENT_BELOW_MIN 0b0000000000000010
#define ERROR_MAX_TEMP_EXCEEDED 0b0000000000000100
#define ERROR_TEMP_BELOW_MIN 0b0000000000001000
#define ERROR_MAX_HUMI_EXCEEDED 0b0000000000010000
#define ERROR_HUMI_BELOW_MIN 0b0000000000100000
#define ERROR_INA226_UNCONFIGURED 0b1000000000000000