hello
Fork of MCP4725 by
Diff: mcp4725.cpp
- Revision:
- 6:35e3e80b804c
- Parent:
- 5:3e6ffce1eea2
--- a/mcp4725.cpp Thu Nov 07 19:05:29 2013 +0000 +++ b/mcp4725.cpp Tue Apr 01 04:45:16 2014 +0000 @@ -20,8 +20,8 @@ _i2c_interface.frequency(freq); // Assemble the full I2C device address. - _device_address = 0xC0; // Prime the full device address with the device code. - _device_address |= (device_address_bits<<1); + _device_address = 0xC4; // Prime the full device address with the device code. + //_device_address |= (device_address_bits<<1); } int MCP4725::read(enum PowerMode* mode, enum PowerMode* mode_eeprom, int* dac_value, int* dac_value_eeprom, bool* eeprom_write_in_progress)