Adafruit-MCP23017-Arduino-Library icon indicating copy to clipboard operation
Adafruit-MCP23017-Arduino-Library copied to clipboard

where has the adafruit_MCP23017 gone? adafruit_MCP23_ZERO_17

Open StefanL38 opened this issue 10 months ago • 1 comments

the actual version of the adafruit MCP23017-library has th ename adafruit_MCP23X17.h

between the digits 23 and 7 there is a X

I want to use this library https://github.com/maxgerhardt/rotary-encoder-over-mcp23017/tree/master

which requires the adafruit_MCP23017.h

between the digits 23 and 7 there is a 0 in words a zero

I tried to modify the Adafruit-MCP23017-Arduino-Library

to use adafruit_MCP23X17.h

but had no success. If gooogle for github arduino "Adafruit_MCP23017.h"

I get several hits from google. But if I want to look up the found links, I only get page not found error? Hu ? what is wrong?

https://github.com/adafruit/Adafruit-MCP23017-Arduino-Library/blob/master/src/Adafruit_MCP23X17.h/RK=2/RS=4p6HwjsLWqixVfeHOPievBJMHeI-

This is the reason why I am asking

Image

StefanL38 avatar Jan 31 '25 14:01 StefanL38

The library was refactored a few years back - starting with the 2.0 release: https://github.com/adafruit/Adafruit-MCP23017-Arduino-Library/releases/tag/2.0.0

That's when the file names where changed. This was a breaking change. So any code using this library (like the one you link) would need to be updated.

The Arduino Library Manager has the option to select a library version. You can try using that to select the 1.3.0 release which has the older file names being used by that rotary encoder library.

caternuson avatar Jan 31 '25 15:01 caternuson

Closing due to lack of response.

caternuson avatar Jun 09 '25 13:06 caternuson