Within its little package, the MCP4728 has four 12-bit DACs for whatever voltage setting needs you may have. In addition, it has the ability to store the settings for the DACs to an internal EEPROM. Once saved to the internal non-volatile memory, the settings will be loaded by default when the DAC powers up. All over I2C.
To take things even further, the MCP4728 lets you chose between two sources for your reference voltage: the input voltage that you use to power it on the VCC pin, or an internal 2.048V reference voltage. If you use the internal reference voltage (Vref in DAC speak) you can choose between1X or 2X gain for the output, allowing your voltages to range from 0V to 2.048 or 0V to 4.096V as your application requires.
STEMMA QT / Qwiic 4-pin 1mm Pitch White Female Connector Cable 150mm Long - Both Side can be purchased seperately.