Beispiel #1
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)
Beispiel #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)
Beispiel #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)