File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 30
30
"""
31
31
32
32
from micropython import const
33
- from adafruit_bus_device import i2c_device
34
33
from .mcp230xx import MCP230XX
35
34
from .digital_inout import DigitalInOut
36
35
@@ -97,4 +96,4 @@ def get_pin(self, pin):
97
96
pointing at the specified pin of this MCP23008 device.
98
97
"""
99
98
assert 0 <= pin <= 7
100
- return DigitalInOut (pin , self )
99
+ return DigitalInOut (pin , self )
Original file line number Diff line number Diff line change 30
30
"""
31
31
32
32
from micropython import const
33
- from adafruit_bus_device import i2c_device
34
33
from .mcp230xx import MCP230XX
35
34
from .digital_inout import DigitalInOut
36
35
Original file line number Diff line number Diff line change 29
29
* Author(s): Tony DiCola
30
30
"""
31
31
32
+ from adafruit_bus_device import i2c_device
33
+
32
34
__version__ = "0.0.0-auto.0"
33
35
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MCP230xx.git"
34
36
37
39
# However this is explicitly not thread safe or re-entrant by design!
38
40
_BUFFER = bytearray (3 )
39
41
42
+
43
+ # pylint: disable=too-few-public-methods
40
44
class MCP230XX :
41
45
"""Base class for MCP230xx devices."""
42
46
You can’t perform that action at this time.
0 commit comments