mirror of
https://github.com/esphome/esphome.git
synced 2025-09-21 20:52:20 +01:00
Update mcp4461_output.h
This commit is contained in:
@@ -14,8 +14,6 @@ class Mcp4461Wiper : public output::FloatOutput, public Parented<Mcp4461Componen
|
|||||||
|
|
||||||
float read_state();
|
float read_state();
|
||||||
float update_state();
|
float update_state();
|
||||||
void enable_wiper();
|
|
||||||
void disable_wiper();
|
|
||||||
void increase_wiper();
|
void increase_wiper();
|
||||||
void decrease_wiper();
|
void decrease_wiper();
|
||||||
void enable_terminal(char terminal);
|
void enable_terminal(char terminal);
|
||||||
@@ -23,6 +21,8 @@ class Mcp4461Wiper : public output::FloatOutput, public Parented<Mcp4461Componen
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
void write_state(float state) override;
|
void write_state(float state) override;
|
||||||
|
void turn_on() override;
|
||||||
|
void turn_off() override;
|
||||||
Mcp4461Component *parent_;
|
Mcp4461Component *parent_;
|
||||||
Mcp4461WiperIdx wiper_;
|
Mcp4461WiperIdx wiper_;
|
||||||
float state_;
|
float state_;
|
||||||
|
Reference in New Issue
Block a user