27 void setup()
override;
54 void play(Ts...
x)
override { this->parent_->brake(); }
fan::FanTraits get_traits() override
void control(const fan::FanCall &call) override
void set_preset_modes(const std::set< std::string > &presets)
void set_hbridge_levels_(float a_level, float b_level)
Base class for all output components that can output a variable level, like PWM.
output::FloatOutput * pin_a_
void set_pin_b(output::FloatOutput *pin_b)
BrakeAction(HBridgeFan *parent)
void play(Ts... x) override
output::FloatOutput * enable_
HBridgeFan(int speed_count, DecayMode decay_mode)
output::FloatOutput * pin_b_
Implementation of SPI Controller mode.
std::set< std::string > preset_modes_
void dump_config() override
void set_enable_pin(output::FloatOutput *enable)
output::BinaryOutput * oscillating_
void set_pin_a(output::FloatOutput *pin_a)