def setVolts(self, volts):
    value = int(volts/self.dv)
    self.set(value)
Sets the DAC output to the given voltage.
dataset/ETHPy150Open graycatlabs/PyBBIO/bbio/libraries/DACx311/dacx311.py/DACx311.setVolts