https://github.com/johntalton/mcp23
8/16-bit I/O Expander (mcp23) with advanced features
https://github.com/johntalton/mcp23
chip expander gpio i2c io mcp23008 mcp23017 pin
Last synced: about 2 months ago
JSON representation
8/16-bit I/O Expander (mcp23) with advanced features
- Host: GitHub
- URL: https://github.com/johntalton/mcp23
- Owner: johntalton
- License: mit
- Created: 2018-05-17T06:22:46.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-07-01T23:53:40.000Z (10 months ago)
- Last Synced: 2025-01-12T20:11:30.612Z (3 months ago)
- Topics: chip, expander, gpio, i2c, io, mcp23008, mcp23017, pin
- Language: TypeScript
- Homepage:
- Size: 894 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Microchip I/O Expander
[](https://www.npmjs.com/package/@johntalton/mcp23)



[](https://www.npmjs.com/package/@johntalton/mcp23)
A Feature rich general I/O chip available in single port (8-bit) and dual port (16-bit) packages.
## Banks and sequential mode
The chip has four operational mode in which registers can be read/written.
- Interlaced Block
- Dual Block
- 8-bit Poll
- 16-bit PollThe library exposes methods that are specific for each mode, and is the callers responsibility to validate mode settings. This affords reduced call overhead (no validation of mode) when operation are done in a stable mode environment.