mirror of
https://github.com/esphome/esphome.git
synced 2025-03-31 16:08:15 +01:00
Update mcp4461_output.h
This commit is contained in:
parent
c374e729c1
commit
d5b9b9ed43
@ -31,6 +31,9 @@ class Mcp4461Wiper : public output::FloatOutput, public Parented<Mcp4461Componen
|
|||||||
if (!terminal_w && wiper_idx < 4)
|
if (!terminal_w && wiper_idx < 4)
|
||||||
parent->disable_terminal(wiper, 'w');
|
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();
|
uint16_t get_wiper_level();
|
||||||
void save_level();
|
void save_level();
|
||||||
void enable_wiper();
|
void enable_wiper();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user