Skip to content

Commit 500083e

Browse files
authored
Merge pull request #6423 from tylercrumpton/patch-1
Fix a minor namespace issue in the countio example
2 parents d77d0d6 + 4a15571 commit 500083e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/countio/Counter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
//| import countio
3131
//|
3232
//| # Count rising edges only.
33-
//| pin_counter = countio.Counter(board.D1, edge=Edge.RISE)
33+
//| pin_counter = countio.Counter(board.D1, edge=countio.Edge.RISE)
3434
//| # Reset the count after 100 counts.
3535
//| while True:
3636
//| if pin_counter.count >= 100:

0 commit comments

Comments
 (0)