1
0
mirror of https://github.com/esphome/esphome.git synced 2025-04-16 07:40:29 +01:00

Update esphome/components/mcp4461/mcp4461.h

Co-authored-by: Djordje Mandic <6750655+DjordjeMandic@users.noreply.github.com>
This commit is contained in:
Oliver Kleinecke 2025-02-20 16:26:20 +01:00 committed by GitHub
parent ddb1c9ed5c
commit 13764562e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,7 +89,7 @@ class Mcp4461Component : public Component, public i2c::I2CDevice {
/// @return uint16_t - returns the eeprom value stored in given eeprom user-data location
uint16_t get_eeprom_value(Mcp4461EepromLocation location);
/// @brief set user-data value from eeprom location
/// @param[location] location to write data to, valid is uint8_t in range of 0-4 for 5x 9 bits of user-data
/// @param[in] location The location to write data to, valid is uint8_t in range of 0-4 for 5x 9 bits of user-data
/// @return bool - return true on successful write, false on error/warning
bool set_eeprom_value(Mcp4461EepromLocation location, uint16_t value);
/// @brief set initial value for wiper