This repository was archived by the owner on Sep 30, 2019. It is now read-only.
This repository was archived by the owner on Sep 30, 2019. It is now read-only.
The argument order for Adafruit_MCP230XX constructor in MCP230XX_GPIO does not match prototype #30
Closed
Description
The constructor for Adafruit_MCP230XX has the following signature:
def init(self, address, num_gpios=8, busnum=-1, debug=False)
but it is invoked from MCP230XX_GPIO's constructor like this:
def init(self, busnum, address, num_gpios):
self.chip = Adafruit_MCP230XX(busnum, address, num_gpios)
Metadata
Metadata
Assignees
Labels
No labels