mirror of
https://github.com/esphome/esphome.git
synced 2025-03-26 04:28:17 +00:00
Update mcp4461.h
This commit is contained in:
parent
174d0414ef
commit
63b26623d8
@ -8,16 +8,16 @@ namespace esphome {
|
|||||||
namespace mcp4461 {
|
namespace mcp4461 {
|
||||||
|
|
||||||
struct WiperState {
|
struct WiperState {
|
||||||
bool update_level = false;
|
bool enabled = true;
|
||||||
bool update_terminal = false;
|
uint16_t state = 0;
|
||||||
|
optional<float> initial_value;
|
||||||
bool terminal_a = true;
|
bool terminal_a = true;
|
||||||
bool terminal_b = true;
|
bool terminal_b = true;
|
||||||
bool terminal_w = true;
|
bool terminal_w = true;
|
||||||
bool terminal_hw = true;
|
bool terminal_hw = true;
|
||||||
uint16_t state = 0;
|
|
||||||
bool enabled = true;
|
|
||||||
bool wiper_lock_active = false;
|
bool wiper_lock_active = false;
|
||||||
optional<float> initial_value;
|
bool update_level = false;
|
||||||
|
bool update_terminal = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
// default wiper state is 128 / 0x80h
|
// default wiper state is 128 / 0x80h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user