def setSemiPeriodMode(self, highSemiPeriod: float) -> None: """Set Semi-period mode on this counter. Counts up on both rising and falling edges. :param highSemiPeriod: True to count up on both rising and falling """ hal.setCounterSemiPeriodMode(self.counter, highSemiPeriod)
def setSemiPeriodMode(self, highSemiPeriod): """Set Semi-period mode on this counter. Counts up on both rising and falling edges. :param highSemiPeriod: True to count up on both rising and falling :type highSemiPeriod: bool """ if self.counter is None: raise ValueError("operation on freed port") hal.setCounterSemiPeriodMode(self.counter, highSemiPeriod)