Skip to content

Commit 9ab45e9

Browse files
author
Your Name
committed
woops, forgot self.INPUT/OUTPUT
1 parent c05037f commit 9ab45e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Adafruit_MCP230xx/Adafruit_MCP230xx.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
MCP23017_OLATA = 0x14
3737
MCP23017_OLATB = 0x15
3838

39-
OUTPUT = 0
40-
INPUT = 1
41-
4239
class Adafruit_MCP230XX(object):
40+
OUTPUT = 0
41+
INPUT = 1
42+
4343

4444
def __init__(self, busnum, address, num_gpios):
4545
assert num_gpios >= 0 and num_gpios <= 16, "Number of GPIOs must be between 0 and 16"

0 commit comments

Comments
 (0)