Merge pull request #6423 from tylercrumpton/patch-1
Fix a minor namespace issue in the countio example
This commit is contained in:
commit
500083e887
@ -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
Block a user