DAC Lib
Dependents: Cube_Mini_Solution Cube_Mini_Solution
Diff: mcp4725.h
- Revision:
- 4:e0d667c9b23b
- Parent:
- 3:4488787a216b
- Child:
- 5:3e6ffce1eea2
diff -r 4488787a216b -r e0d667c9b23b mcp4725.h --- a/mcp4725.h Sun Oct 27 14:22:52 2013 +0000 +++ b/mcp4725.h Sun Nov 03 11:37:55 2013 +0000 @@ -8,8 +8,8 @@ /** MCP4725 class. * Used for interfacing with a mcp4725 12-Bit Digital-to-Analog Converter. - * 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. + * To convert between the 12bit dac_value and Vout, use the following formula: dac_value = (Vout*4096/Vref), where Vout is + * the desired output analog voltage, 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. *