Marlin/dac_mcp4728.cpp
/**
 * FastWrite input register values - All DAC ouput update. refer to DATASHEET 5.6.1
 * DAC Input and PowerDown bits update.
 * No EEPROM update
 */
FastWrite input register values - All DAC ouput update. refer to DATASHEET 5.6.1
DAC Input and PowerDown bits update.
No EEPROM update
FastWrite input register values - All DAC ouput update . refer to DATASHEET 5 . 6 . 1 DAC Input and PowerDown bits update . No EEPROM update
uint8_t mcp4728_fastWrite() {
  Wire.beginTransmission(DAC_DEV_ADDRESS);
  for (uint8_t channel=0; channel <= 3; channel++) {
    Wire.write(highByte(mcp4728_values[channel]));
    Wire.write(lowByte(mcp4728_values[channel]));
  }
  return Wire.endTransmission();
}
uint8_t mcp4728_fastWrite ( ) { Wire . beginTransmission ( DAC_DEV_ADDRESS ) ; for ( uint8_t channel = 0 ; channel <= 3 ; channel ++ ) { Wire . write ( highByte ( mcp4728_values [ channel ] ) ) ; Wire . write ( lowByte ( mcp4728_values [ channel ] ) ) ; } return Wire . endTransmission ( ) ; }
FastWrite input register values - All DAC ouput update.
FastWrite input register values - All DAC ouput update .