コード例 #1
0
ファイル: counter.py プロジェクト: arilotter/robotpy-wpilib
 def setUpDownCounterMode(self):
     """Set standard up / down counting mode on this counter. Up and down
     counts are sourced independently from two inputs.
     """
     if self.counter is None:
         raise ValueError("operation on freed port")
     hal.setCounterUpDownMode(self.counter)
コード例 #2
0
 def setUpDownCounterMode(self):
     """Set standard up / down counting mode on this counter. Up and down
     counts are sourced independently from two inputs.
     """
     if self.counter is None:
         raise ValueError("operation on freed port")
     hal.setCounterUpDownMode(self.counter)
コード例 #3
0
 def setUpDownCounterMode(self):
     """Set standard up / down counting mode on this counter. Up and down
     counts are sourced independently from two inputs.
     """
     hal.setCounterUpDownMode(self.counter)