Skip to content

Commit ab1b2c6

Browse files
Charly-sketchnedseb
authored andcommitted
docs(mcp23009e): clarify GPIO naming for binary counter output pins
In binary_counter example docstring
1 parent 975b127 commit ab1b2c6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/mcp23009e/examples/binary_counter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
LEFT -> reset
77
RIGHT -> print current value
88
9-
The value is displayed on GP0..GP3 as a 4-bit binary number.
9+
The value is displayed on GPIO1..GPIO4 (expander pins 0..3)
10+
as a 4-bit binary number.
1011
"""
1112

1213
from time import sleep_ms

0 commit comments

Comments
 (0)