コード例 #1
0
ファイル: counter.py プロジェクト: arilotter/robotpy-wpilib
 def reset(self):
     """Reset the Counter to zero. Set the counter value to zero. This
     doesn't effect the running state of the counter, just sets the
     current value to zero.
     """
     if self.counter is None:
         raise ValueError("operation on freed port")
     hal.resetCounter(self.counter)
コード例 #2
0
 def reset(self):
     """Reset the Counter to zero. Set the counter value to zero. This
     doesn't effect the running state of the counter, just sets the
     current value to zero.
     """
     if self.counter is None:
         raise ValueError("operation on freed port")
     hal.resetCounter(self.counter)
コード例 #3
0
 def reset(self):
     """Reset the Counter to zero. Set the counter value to zero. This
     doesn't effect the running state of the counter, just sets the
     current value to zero.
     """
     hal.resetCounter(self.counter)