1
0
mirror of https://github.com/esphome/esphome.git synced 2025-04-15 23:30:28 +01:00

Update mcp4461_output.h

This commit is contained in:
Oliver Kleinecke 2025-02-16 17:35:34 +01:00 committed by GitHub
parent e687473657
commit 5ca3067e28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,9 @@ namespace mcp4461 {
class Mcp4461Wiper : public output::FloatOutput, public Parented<Mcp4461Component> { class Mcp4461Wiper : public output::FloatOutput, public Parented<Mcp4461Component> {
public: public:
Mcp4461Wiper(Mcp4461Component *parent, Mcp4461WiperIdx wiper) : parent_(parent), wiper_(wiper) {} Mcp4461Wiper(Mcp4461Component *parent, Mcp4461WiperIdx wiper) : parent_(parent), wiper_(wiper) {}
void set_state(bool state) override;
void turn_on() override;
void turn_off() override;
float read_state(); float read_state();
float update_state(); float update_state();
void enable_wiper(); void enable_wiper();