43 void setup()
override;
57 bool store_in_eeprom_ =
false;
This Class provides the methods to read/write bytes from/to an i2c device.
MCP4728 float output component.
MCP4728Component(bool store_in_eeprom)
void configure_channel(MCP4728ChannelIdx channel, MCP4728Vref vref, MCP4728Gain gain, MCP4728PwrDown pd)
float get_setup_priority() const override
void dump_config() override
void write_channel(uint8_t channel, float state)
@ MCP4728_VREF_INTERNAL_2_8V
constexpr float HARDWARE
For components that deal with hardware and are very important like GPIO switch.