16 void setup()
override;
bool oscillating
The current oscillation state of the fan.
FanDirection direction
The current direction of the fan.
void set_direction(output::BinaryOutput *direction)
Base class for all output components that can output a variable level, like PWM.
void dump_config() override
output::FloatOutput * output_
void control(const fan::FanCall &call) override
void set_preset_modes(const std::set< std::string > &presets)
fan::FanTraits get_traits() override
std::set< std::string > preset_modes_
SpeedFan(int speed_count)
output::BinaryOutput * oscillating_
Implementation of SPI Controller mode.
void set_oscillating(output::BinaryOutput *oscillating)
void set_output(output::FloatOutput *output)
output::BinaryOutput * direction_