Skip to content

Commit

Permalink
Fix to use correct base class
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed Nov 8, 2021
1 parent fcde277 commit b62cfde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adafruit_mcp230xx/digital_inout.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

try:
import typing # pylint: disable=unused-import
from adafruit_mcp230xx.mcp230xx import MCP230XX
from adafruit_mcp230xx.mcp23xxx import MCP23XXX
from digitalio import Pull, Direction
except ImportError:
pass
Expand Down Expand Up @@ -48,7 +48,7 @@ class DigitalInOut:
configurations.
"""

def __init__(self, pin_number: int, mcp230xx: MCP230XX):
def __init__(self, pin_number: int, mcp230xx: MCP23XXX):
"""Specify the pin number of the MCP230xx (0...7 for MCP23008, or 0...15
for MCP23017) and MCP23008 instance.
"""
Expand Down

0 comments on commit b62cfde

Please sign in to comment.