def setExternalDirectionMode(self): """Set external direction mode on this counter. Counts are sourced on the Up counter input. The Down counter input represents the direction to count. """ if self.counter is None: raise ValueError("operation on freed port") hal.setCounterExternalDirectionMode(self.counter)
def setExternalDirectionMode(self): """Set external direction mode on this counter. Counts are sourced on the Up counter input. The Down counter input represents the direction to count. """ hal.setCounterExternalDirectionMode(self.counter)