Fix a minor namespace issue in the countio example
This commit is contained in:
parent
0f1973b037
commit
4a15571295
|
@ -30,7 +30,7 @@
|
|||
//| import countio
|
||||
//|
|
||||
//| # Count rising edges only.
|
||||
//| pin_counter = countio.Counter(board.D1, edge=Edge.RISE)
|
||||
//| pin_counter = countio.Counter(board.D1, edge=countio.Edge.RISE)
|
||||
//| # Reset the count after 100 counts.
|
||||
//| while True:
|
||||
//| if pin_counter.count >= 100:
|
||||
|
|
Loading…
Reference in New Issue