1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-26 04:28:17 +00:00

Update mcp4461_output.h

This commit is contained in:
Oliver Kleinecke 2025-02-07 16:20:03 +01:00 committed by GitHub
parent c374e729c1
commit d5b9b9ed43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,6 +31,9 @@ class Mcp4461Wiper : public output::FloatOutput, public Parented<Mcp4461Componen
if (!terminal_w && wiper_idx < 4)
parent->disable_terminal(wiper, 'w');
}
void Mcp4461Wiper::set_initial_value(float initial_value) {
this->parent->reg_[this->wiper_].initial_value = initial_value;
}
uint16_t get_wiper_level();
void save_level();
void enable_wiper();