Marlin/dac_mcp4728.cpp
uint8_t mcp4728_setGain_all(uint8_t value) {
  Wire.beginTransmission(DAC_DEV_ADDRESS);
  Wire.write(GAINWRITE | value << 3 | value << 2 | value << 1 | value);
  return Wire.endTransmission();
}
/**
 * Write Gain setting to all input regiters
 */
Write Gain setting to all input regiters
Write Gain setting to all input regiters
uint8_t mcp4728_setGain_all(uint8_t value) {
  Wire.beginTransmission(DAC_DEV_ADDRESS);
  Wire.write(GAINWRITE | value << 3 | value << 2 | value << 1 | value);
  return Wire.endTransmission();
}
uint8_t mcp4728_setGain_all ( uint8_t value ) { Wire . beginTransmission ( DAC_DEV_ADDRESS ) ; Wire . write ( GAINWRITE | value << 3 | value << 2 | value << 1 | value ) ; return Wire . endTransmission ( ) ; }
Write Gain setting to all input regiters
Write Gain setting to all input regiters