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 7b76090 commit e5d86daCopy full SHA for e5d86da
adafruit_mcp230xx/mcp23017.py
@@ -259,6 +259,8 @@ def io_control(self):
259
260
@io_control.setter
261
def io_control(self, val):
262
+ val |= 0b000001
263
+ val ^= 0b000001
264
self._write_u8(_MCP23017_IOCON, val)
265
266
@property
adafruit_mcp230xx/mcp23s17.py
@@ -263,6 +263,8 @@ def io_control(self):
267
268
self._write_u8(_MCP23S17_IOCON, val)
269
270
0 commit comments