We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcde277 commit b62cfdeCopy full SHA for b62cfde
adafruit_mcp230xx/digital_inout.py
@@ -16,7 +16,7 @@
16
17
try:
18
import typing # pylint: disable=unused-import
19
- from adafruit_mcp230xx.mcp230xx import MCP230XX
+ from adafruit_mcp230xx.mcp23xxx import MCP23XXX
20
from digitalio import Pull, Direction
21
except ImportError:
22
pass
@@ -48,7 +48,7 @@ class DigitalInOut:
48
configurations.
49
"""
50
51
- def __init__(self, pin_number: int, mcp230xx: MCP230XX):
+ def __init__(self, pin_number: int, mcp230xx: MCP23XXX):
52
"""Specify the pin number of the MCP230xx (0...7 for MCP23008, or 0...15
53
for MCP23017) and MCP23008 instance.
54
0 commit comments