Skip to content

Commit da585c0

Browse files
Bug fix in demo file
1 parent c3252d3 commit da585c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

IOPi/demos/demo_ioreadzero.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def main():
3939
"""
4040
Main program function
4141
"""
42-
iobus1 = IOPi(0x20, True, 0)
42+
iobus1 = IOPi(0x20, True)
4343

4444
# We will read the inputs 1 to 16 from the I/O bus so set port 0 and
4545
# port 1 to be inputs and enable the internal pull-up resistors

0 commit comments

Comments
 (0)