Trying to match the DAC to the datasheet