Exemplo n.º 1
0
 def setClosedLoopControl(self, on: bool) -> None:
     """Set the PCM in closed loop control mode.
     
     :param on: If True sets the compressor to be in closed loop control
                mode (default)
     """
     hal.setCompressorClosedLoopControl(self.compressorHandle, True if on else False)
Exemplo n.º 2
0
 def setClosedLoopControl(self, on):
     """Set the PCM in closed loop control mode.
     
     :param on: If True sets the compressor to be in closed loop control
                mode (default)
     :type  on: bool
     """
     hal.setCompressorClosedLoopControl(self.compressorHandle, True if on else False)