1
0
mirror of https://github.com/esphome/esphome.git synced 2025-04-12 22:00:30 +01:00

Update mcp4461.h

This commit is contained in:
Oliver Kleinecke 2025-02-20 12:18:08 +01:00 committed by GitHub
parent 8500eca07d
commit 8c7fabe0d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,10 +82,10 @@ class Mcp4461Component : public Component, public i2c::I2CDevice {
/// @brief set hardware priority for component
float get_setup_priority() const override { return setup_priority::HARDWARE; }
void loop() override;
/// @brief get user-data value from eeprom location
/// @brief get user-data value from eeprom location
/// @param[location] location to fetch data from, valid is uint8_t in range of 0-4 for 5x 9 bits of user-data
uint16_t get_eeprom_value(Mcp4461EepromLocation location);
/// @brief set user-data value from eeprom 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
bool set_eeprom_value(Mcp4461EepromLocation location, uint16_t value);
/// @brief set initial value for wiper