A feature complete driver for the MCP4725 DAC from Microchip with an AnalogOut-compatible API.
Dependents: MCP4725_HelloWorld DAC02_RFID_and_TFT
Diff: MCP4725.cpp
- Revision:
- 1:3b687a9acdf3
- Parent:
- 0:203cdd3b30fc
- Child:
- 2:42d9d780813b
--- a/MCP4725.cpp Tue May 06 17:11:35 2014 +0000 +++ b/MCP4725.cpp Wed May 07 16:24:16 2014 +0000 @@ -94,15 +94,6 @@ writeDac(); } -void MCP4725::write_u12(unsigned short value) -{ - //Update the DAC value - m_DacValue = value & 0x0FFF; - - //Update the DAC - writeDac(); -} - void MCP4725::write_u16(unsigned short value) { //Update the DAC value