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 18:31:54 +01:00 committed by GitHub
parent 577b3e996d
commit 7140ff0645
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,6 +78,7 @@ class Mcp4461Component : public Component, public i2c::I2CDevice {
uint16_t get_eeprom_value(Mcp4461EepromLocation location);
bool set_eeprom_value(Mcp4461EepromLocation location, uint16_t value);
void set_initial_value(Mcp4461WiperIdx wiper, float initial_value);
void set_terminal_disabled(Mcp4461WiperIdx wiper, char terminal);
enum ErrorCode {
MCP4461_STATUS_OK = 0, // CMD completed successfully