Fix a minor namespace issue in the countio example

This commit is contained in:
Tyler Crumpton 2022-05-23 13:03:03 -05:00 committed by GitHub
parent 0f1973b037
commit 4a15571295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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: