Skip to content
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
@0x8000-0000

Description

@0x8000-0000

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions