23 #define FAN_CONTROL_MODE_FIXED_POWER 0
24 #define FAN_CONTROL_MODE_FIXED_RPM 1
25 #define FAN_CONTROL_MODE_CURVE 2
28 uint8_t mode = FAN_CONTROL_MODE_FIXED_POWER;
64 virtual void setFanSpeed(uint8_t fan, uint16_t speed)
override;
66 virtual void setFanPower(uint8_t fan, uint8_t percentage)
override;
76 PWMFan* fans[FAN_NUM] = {
nullptr};
77 bool force3PinMode =
false;
79 uint16_t externalTemp[FAN_NUM];
81 uint16_t eEPROMAdress;
86 unsigned long lastUpdate = 0;
FanDetectionType
Definition: FanController.h:49
Definition: FanController.h:88
Definition: SimpleFanController.h:40
virtual bool updateFans()
Definition: SimpleFanController.cpp:41
virtual void setFanForce3PinMode(bool flag) override
Definition: SimpleFanController.cpp:129
SimpleFanController(TemperatureController *temperatureController, uint16_t updateRate, uint16_t eEPROMAdress)
Definition: SimpleFanController.cpp:20
virtual FanDetectionType getFanDetectionType(uint8_t fan) override
Definition: SimpleFanController.cpp:133
virtual void setFanSpeed(uint8_t fan, uint16_t speed) override
Definition: SimpleFanController.cpp:100
bool triggerSave
Definition: SimpleFanController.h:85
virtual void setFanExternalTemperature(uint8_t fan, uint16_t temp) override
Definition: SimpleFanController.cpp:125
virtual uint16_t getFanSpeed(uint8_t fan) override
Definition: SimpleFanController.cpp:96
void addFan(uint8_t index, PWMFan *fan)
Definition: SimpleFanController.cpp:26
virtual void setFanPower(uint8_t fan, uint8_t percentage) override
Definition: SimpleFanController.cpp:111
virtual uint8_t getFanPower(uint8_t fan) override
Definition: SimpleFanController.cpp:107
virtual void setFanDetectionType(uint8_t fan, FanDetectionType type) override
Definition: SimpleFanController.cpp:137
virtual void setFanCurve(uint8_t fan, uint8_t group, FanCurve &fanCurve) override
Definition: SimpleFanController.cpp:118
Definition: TemperatureController.h:38
Definition: FanController.h:73
Definition: SimpleFanController.h:27