CircuitPython/frequencyio.py

changeset 7
e336d6afc5a6
parent 6
81a2208f13e4
equal deleted inserted replaced
6:81a2208f13e4 7:e336d6afc5a6
6 """ 6 """
7 Module containing stubs for API generation of the 'frequencyio' module. 7 Module containing stubs for API generation of the 'frequencyio' module.
8 """ 8 """
9 9
10 class FrequencyIn(): 10 class FrequencyIn():
11 capture_period = 0
12
11 def __init__(self, pin, capture_period=10): 13 def __init__(self, pin, capture_period=10):
12 pass 14 pass
13 15
14 def deinit(self): 16 def deinit(self):
15 pass 17 pass
16 18
17 def _pause(self): 19 def pause(self):
18 pass 20 pass
19 21
20 def _resume(self): 22 def resume(self):
21 pass 23 pass
22 24
23 def _clear(self): 25 def clear(self):
24 pass 26 pass
25
26 @property
27 def capture_period(self):
28 pass

eric ide

mercurial