This module provides access to the [MCP4725 12-bit Digital to Analog Converter](http://ww1.microchip.com/downloads/en/DeviceDoc/22039d.pdf).
!!!important:
VDD is the power supply pin for the device. The voltage at the VDD pin is used as the supply input as well as the DAC reference input. The power supply at the VDD pin should be clean as possible for good DAC performance.
!!!note:
The MCP4725 device address contains four fixed bits ( 1100 = device code) and three address bits (A2, A1, A0). The A2 and A1 bits are hard-wired during manufacturing, and A0 bit is determined by the logic state of A0 pin. The A0 pin can be connected to VDD or VSS , or actively driven by digital logic levels. The address pin(A0) can be actively driven by a GPIO to act as a chip select, allowing more than 2 devices to be used on the same bus.
## mcp4725.read()
Gets contents of the dac register and EEPROM.
#### Syntax
`mcp4725.read({[a0], [a1], [a2]})`
#### Parameters
-`A0` Address bit 0. This bit is user configurable via MCP4725 pin 6(A0). (valid states: 0 or 1) (default: 0)
-`A1` Address bit 1. This bit is hard-wired during manufacture. (valid states: 0 or 1) (default: 0)
- Note: Modules purchased from Adafruit have this bit(A1) set high(1).
-`A2` Address bit 2. This bit is hard-wired during manufacture. (valid states: 0 or 1) (default: 0)
#### Returns
*`cur_pwrdn` Current power down configuration value.
*`cur_val` Current value stored in dac register.
*`eeprom_pwrdn` Power down configuration stored in EEPROM.
*`eeprom_val` DAC value stored in EEPROM.
*`eeprom_state` EEPROM write status
*`0` EEPROM write is incomplete.
*`1` EEPROM write has completed
*`por_state` Power-On-Reset status;
*`0` The MCP4725 is performing reset and is not ready.