https://github.com/wollewald/mcp23017_we
Library for the MCP23017 and MCP23S17 I/O Expander
https://github.com/wollewald/mcp23017_we
arduino arduino-library attiny85 i2c mcp23017 mcp23018 mcp23s17 mcp23s18 portexpander spi
Last synced: about 1 year ago
JSON representation
Library for the MCP23017 and MCP23S17 I/O Expander
- Host: GitHub
- URL: https://github.com/wollewald/mcp23017_we
- Owner: wollewald
- License: mit
- Created: 2019-05-11T12:31:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-24T12:34:10.000Z (over 2 years ago)
- Last Synced: 2025-03-26T15:54:28.906Z (about 1 year ago)
- Topics: arduino, arduino-library, attiny85, i2c, mcp23017, mcp23018, mcp23s17, mcp23s18, portexpander, spi
- Language: C++
- Homepage: https://wolles-elektronikkiste.de/en/port-expander-mcp23017-2
- Size: 4.19 MB
- Stars: 44
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MCP23017_WE
This is a library for the MCP23017, MCP23S17, MCP23018 and MCP23S18 I/O Port Expander.
You'll find some examples including the wiring (examples folder) which
should enable you to use the library. Furthermore I have added a list of commands.
I have implemented an option to use it with an ATtiny and the TineWireM library.
In case you like this library it would be cool if you give it a star.
If you find bugs, please inform me!
Important notice:
In 2022 Microchip has unfortunately updated the design of the MCP23017. GPA7 and GPB7 have lost their input function:

You can only use these pins as output. There is no change to the MCP23S17, MCP23018 and MCP23S18.
You find this information in latest datasheet:
https://www.microchip.com/en-us/product/mcp23017
Written by Wolfgang (Wolle) Ewald
http://wolles-elektronikkiste.de/portexpander-mcp23017 (German)
https://wolles-elektronikkiste.de/en/port-expander-mcp23017-2 (English)