Classes to interact with our Mbed.
Dependents: MCP4725I2Ctest MCP4725Translator
Fork of MCP4728 by
Diff: mcp4725.cpp
- Revision:
- 7:05ccdd6cebf8
- Parent:
- 6:e83ec147be06
diff -r e83ec147be06 -r 05ccdd6cebf8 mcp4725.cpp --- a/mcp4725.cpp Wed May 18 11:22:16 2016 +0000 +++ b/mcp4725.cpp Wed Jun 15 10:52:43 2016 +0000 @@ -60,10 +60,7 @@ int value = 4096 * voltage / Vdd; return write( Normal, value, false); } - - - - + int MCP4725::write(enum PowerMode mode, int dac_value, bool writeToEeprom) {