Merge pull request #6423 from tylercrumpton/patch-1

Fix a minor namespace issue in the countio example
This commit is contained in:
Dan Halbert 2022-05-23 16:40:33 -04:00 committed by GitHub
commit 500083e887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: