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.

Using MCP230XX Library #130

@christophN

Description

@christophN

Hey,

I am trying to use the Adafruit_MCP230XX library in my project.
I want to use the library and it's functions in my own python program. So i have for example my "main.py" and i want to use the functionalities of the MCP230XX Library in this.
I have added "import Adafruit_MCP230XX" at the top of my file, but i am not able to use any of the functions.

Am i right i need to import the two classes which are created in the file.
So do I need to go with: "from Adafruit_MCP230XX import Adafruit_MCP230XX" and "from Adafruit_MCP230XX import MCP230XX_GPIO" ?
Any help or suggestions?

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