Skip to content

Commit b62cfde

Browse files
committed
Fix to use correct base class
1 parent fcde277 commit b62cfde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_mcp230xx/digital_inout.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
try:
1818
import typing # pylint: disable=unused-import
19-
from adafruit_mcp230xx.mcp230xx import MCP230XX
19+
from adafruit_mcp230xx.mcp23xxx import MCP23XXX
2020
from digitalio import Pull, Direction
2121
except ImportError:
2222
pass
@@ -48,7 +48,7 @@ class DigitalInOut:
4848
configurations.
4949
"""
5050

51-
def __init__(self, pin_number: int, mcp230xx: MCP230XX):
51+
def __init__(self, pin_number: int, mcp230xx: MCP23XXX):
5252
"""Specify the pin number of the MCP230xx (0...7 for MCP23008, or 0...15
5353
for MCP23017) and MCP23008 instance.
5454
"""

0 commit comments

Comments
 (0)