I don't know if I'm blind or dumb, but I can't seem to find a function to read/write registers other that GPIOA/B. How do I go about addressing the other registers (IODIR, GPINTEN, etc.)?? I see there are functions to work with a single pin to set it's function (Input/Output, polarity, interrupt enable/disable, etc.), but nothing to address the "control" registers as units.
Any help would be most appreciated.
Library documentation
https://adafruit.github.io/Adafruit-MCP ... index.html
I have V 2.3.0 installed
Adafruit MCP23017 Library Questions....
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 10674
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Adafruit MCP23017 Library Questions....
I see the issue here.
There are docs for the MCP23017 library which are specific to your chip doing the gpioAB stuff.
There are also docs for the base class which applies to all MCP23XXX variants which have all the fun stuff you are asking about.
There are docs for the MCP23017 library which are specific to your chip doing the gpioAB stuff.
There are also docs for the base class which applies to all MCP23XXX variants which have all the fun stuff you are asking about.
Please be positive and constructive with your questions and comments.