Library for controlling an MCP4725 "12-Bit Digital-to-Analog Converter with EEPROM Memory". There is an accompanying test suite program "MCP_4725_Library_Test" that can be used to test this library.
Dependents: IGGE_Power MCP4725_Library_Test MCP4725 SinWave ... more
Diff: mcp4725.h
- Revision:
- 3:4488787a216b
- Parent:
- 2:2288d9dfab02
- Child:
- 4:e0d667c9b23b
--- a/mcp4725.h Sun Oct 27 14:06:11 2013 +0000 +++ b/mcp4725.h Sun Oct 27 14:22:52 2013 +0000 @@ -8,8 +8,11 @@ /** MCP4725 class. * Used for interfacing with a mcp4725 12-Bit Digital-to-Analog Converter. - * There is an accompanying test suite program "MCP_4725_Library_Test" that can - * be used to test this library. + * To convert between the 12bit dac_value and Vout, use the following formula: dac_value = (Vout*4096/Vref), where Vref is the voltage + * connected to the Vdd pin of the device. Typically Vdd will be 3.3volts. + * + * Note: There is an accompanying test suite program "MCP_4725_Library_Test" that can be used to test this library. + * */ class MCP4725 {