mirror of
https://github.com/esphome/esphome.git
synced 2025-04-06 19:00:29 +01:00
Update mcp4461_output.h
This commit is contained in:
parent
faefa25cc9
commit
71c0301308
@ -39,6 +39,7 @@ class Mcp4461Wiper : public output::FloatOutput {
|
||||
void decrease_wiper();
|
||||
void enable_terminal(char terminal);
|
||||
void disable_terminal(char terminal);
|
||||
void set_initial_value(float initial_value) { this->initial_value_ = initial_value; }
|
||||
|
||||
protected:
|
||||
void write_state(float state) override;
|
||||
@ -46,6 +47,7 @@ class Mcp4461Wiper : public output::FloatOutput {
|
||||
Mcp4461WiperIdx wiper_;
|
||||
bool enable_;
|
||||
uint16_t state_;
|
||||
optional<float> initial_value_;
|
||||
bool terminal_a_;
|
||||
bool terminal_b_;
|
||||
bool terminal_w_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user