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
057be5a10a
commit
ff63590107
@ -10,7 +10,7 @@ namespace mcp4461 {
|
|||||||
|
|
||||||
class Mcp4461Wiper : public output::FloatOutput {
|
class Mcp4461Wiper : public output::FloatOutput {
|
||||||
public:
|
public:
|
||||||
Mcp4461Wiper(Mcp4461Component *parent, MCP4461WiperIdx wiper, bool enable, bool terminal_a, bool terminal_b,
|
Mcp4461Wiper(Mcp4461Component *parent, Mcp4461WiperIdx wiper, bool enable, bool terminal_a, bool terminal_b,
|
||||||
bool terminal_w)
|
bool terminal_w)
|
||||||
: parent_(parent),
|
: parent_(parent),
|
||||||
wiper_(wiper),
|
wiper_(wiper),
|
||||||
@ -42,7 +42,7 @@ class Mcp4461Wiper : public output::FloatOutput {
|
|||||||
protected:
|
protected:
|
||||||
void write_state(float state) override;
|
void write_state(float state) override;
|
||||||
Mcp4461Component *parent_;
|
Mcp4461Component *parent_;
|
||||||
MCP4461WiperIdx wiper_;
|
Mcp4461WiperIdx wiper_;
|
||||||
bool enable_;
|
bool enable_;
|
||||||
uint16_t state_;
|
uint16_t state_;
|
||||||
bool terminal_a_;
|
bool terminal_a_;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user