code: def set(self, channel, state):
          
          checked_val = self._check_dac_val(channel, state)
          self._dac_enabled = 0x40
          self.i2c.write8(self._dac_enabled, checked_val * 255)
docs: Set DAC value and enable output