1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-24 11:38:23 +00:00

Update mcp4461.h

This commit is contained in:
Oliver Kleinecke 2025-02-09 17:37:23 +01:00 committed by GitHub
parent 174d0414ef
commit 63b26623d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,16 +8,16 @@ namespace esphome {
namespace mcp4461 {
struct WiperState {
bool update_level = false;
bool update_terminal = false;
bool enabled = true;
uint16_t state = 0;
optional<float> initial_value;
bool terminal_a = true;
bool terminal_b = true;
bool terminal_w = true;
bool terminal_hw = true;
uint16_t state = 0;
bool enabled = true;
bool wiper_lock_active = false;
optional<float> initial_value;
bool update_level = false;
bool update_terminal = false;
};
// default wiper state is 128 / 0x80h