1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-13 22:28:14 +00:00

Update mcp4461_output.h

This commit is contained in:
Oliver Kleinecke 2025-02-20 14:54:31 +01:00 committed by GitHub
parent e03df410cd
commit a675325fc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,8 +19,10 @@ class Mcp4461Wiper : public output::FloatOutput, public Parented<Mcp4461Componen
/// @brief Disables current output
void turn_off() override;
/// @brief Read current device wiper state without updating internal output state
/// @return float - current device state as float in range 0 - 1.0
float read_state();
/// @brief Update current output state using device wiper state
/// @return float - current updated output state as float in range 0 - 1.0
float update_state();
/// @brief Increase wiper by 1 tap
void increase_wiper();