100 void setup()
override;
void set_inverted(bool inverted)
Inverts the polarity of the Fan output.
void set_dac_conversion_rate(Emc2101DACConversionRate conversion_rate)
Sets the DAC conversion rate (how many conversions per second).
uint8_t max_output_value_
void set_pwm_divider(uint8_t divider)
Sets the PWM divider used to derive the PWM frequency.
void dump_config() override
Used by ESPHome framework.
Emc2101DACConversionRate
Enum listing all DAC conversion rates for the EMC2101.
Emc2101DACConversionRate dac_conversion_rate_
void set_pwm_resolution(uint8_t resolution)
Sets the PWM resolution.
float get_internal_temperature()
Gets the internal temperature sensor reading.
void setup() override
Used by ESPHome framework.
float get_duty_cycle()
Gets the Fan output duty cycle.
float get_speed()
Gets the tachometer speed sensor reading.
float get_external_temperature()
Gets the external temperature sensor reading.
void set_duty_cycle(float value)
Sets the Fan output duty cycle.
This class includes support for the EMC2101 i2c fan controller.
Implementation of SPI Controller mode.
This Class provides the methods to read/write bytes from/to an i2c device.
float get_setup_priority() const override
Used by ESPHome framework.
void set_dac_mode(bool dac_mode)
Sets the mode of the output.