virtual void play(Ts... x)=0
virtual void turn_off()
Disable this binary output.
virtual void turn_on()
Enable this binary output.
Base class for all output components that can output a variable level, like PWM.
void set_level(float state)
Set the level of this float output, this is called from the front-end.
void set_max_power(float max_power)
Set the maximum power output of this component.
void set_min_power(float min_power)
Set the minimum power output of this component.
SetLevelAction(FloatOutput *output)
TEMPLATABLE_VALUE(float, level) void play(Ts... x) override
SetMaxPowerAction(FloatOutput *output)
TEMPLATABLE_VALUE(float, max_power) void play(Ts... x) override
SetMinPowerAction(FloatOutput *output)
TEMPLATABLE_VALUE(float, min_power) void play(Ts... x) override
TurnOffAction(BinaryOutput *output)
void play(Ts... x) override
TurnOnAction(BinaryOutput *output)
void play(Ts... x) override
Providing packet encoding functions for exchanging data with a remote host.