{"id":16148916,"url":"https://github.com/erriez/erriezmcp23017","last_synced_at":"2026-05-03T17:34:24.066Z","repository":{"id":85067594,"uuid":"254180771","full_name":"Erriez/ErriezMCP23017","owner":"Erriez","description":"Erriez MCP23017 16-pin I2C IO-expander library for Arduino","archived":false,"fork":false,"pushed_at":"2020-09-06T09:34:12.000Z","size":1285,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T21:33:49.251Z","etag":null,"topics":["16-pins","arduino","documentation","erriez","esp32","esp8266","examples","expander","getting","i2c","interrupt","io","library","mcp23017","polling","smbus","started","tested","uno"],"latest_commit_sha":null,"homepage":"https://github.com/Erriez/ErriezArduinoLibrariesAndSketches","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Erriez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-08T19:25:19.000Z","updated_at":"2023-07-21T20:00:30.000Z","dependencies_parsed_at":"2023-11-23T22:00:12.105Z","dependency_job_id":null,"html_url":"https://github.com/Erriez/ErriezMCP23017","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Erriez/ErriezMCP23017","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erriez%2FErriezMCP23017","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erriez%2FErriezMCP23017/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erriez%2FErriezMCP23017/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erriez%2FErriezMCP23017/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Erriez","download_url":"https://codeload.github.com/Erriez/ErriezMCP23017/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erriez%2FErriezMCP23017/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32578787,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["16-pins","arduino","documentation","erriez","esp32","esp8266","examples","expander","getting","i2c","interrupt","io","library","mcp23017","polling","smbus","started","tested","uno"],"created_at":"2024-10-10T00:35:16.274Z","updated_at":"2026-05-03T17:34:24.047Z","avatar_url":"https://github.com/Erriez.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCP23017 16-pin I2C IO-expander library for Arduino\n\n[![Build Status](https://travis-ci.org/Erriez/ErriezMCP23017.svg?branch=master)](https://travis-ci.org/Erriez/ErriezMCP23017)\n\nThis is a MCP23017 16-pin I2C IO-expander library for Arduino with interrupt change/edge support and extensive examples.\n\n![MCP23017 16-pin I2C IO-expander](https://raw.githubusercontent.com/Erriez/ErriezMCP23017/master/extras/MCP23017-pins.png)\n\n\n## Library features\n\n* I2C interface\n* Input/output/read/write/toggle/mask control per pin or per 16-pins\n* Configurable pullup per pin\n* Interrupt change/falling/rising per pin\n* Interrupt edge handled by the library, because the chip supports pin change / level only.\n* Low-power support\n* Generic examples / AVR / ESP8266 / ESP32 support\n\n\n## Hardware\n\nThe following targets are supported:\n\n* AVR: UNO, MINI, Pro Mini 8/16 MHz, ATMega2560, Leonardo\n* ARM: DUE\n* ESP8266: Mini D1 \u0026 D2, NodeMCU\n* ESP32: Lolin D32\n\n\n## Examples\n\nExtensive examples are located [here](https://github.com/Erriez/ErriezMCP23017/tree/master/examples).\n\n\n## Documentation\n\n- [Online HTML](https://erriez.github.io/ErriezMCP23017)\n- [Download PDF](https://github.com/Erriez/ErriezMCP23017/raw/master/ErriezMCP23017.pdf)\n\n\n**Getting started LED blink**\n\n```c++\n#include \u003cArduino.h\u003e\n#include \u003cWire.h\u003e\n#include \u003cErriezMCP23017.h\u003e\n\n// PORTA: pins 0..7\n// PORTB: pins 8..15\n#define LED_PIN                 8 // Pin B0\n\n// Default I2C Address 0x20\n#define MCP23017_I2C_ADDRESS    0x20\n\n// Create MCP23017 object\nErriezMCP23017 mcp = ErriezMCP23017(MCP23017_I2C_ADDRESS);\n\nvoid setup()\n{\n    // Initialize Wire\n    Wire.begin();\n    Wire.setClock(400000);\n\n    // Initialize MCP23017\n    while (!mcp.begin()) {\n        // MCP23017 not detected\n        delay(3000);\n    }\n\n    // LED pin output\n    mcp.pinMode(LED_PIN, OUTPUT);\n}\n\nvoid loop()\n{\n    mcp.digitalWrite(LED_PIN, HIGH);\n    delay(1000);\n    mcp.digitalWrite(LED_PIN, LOW);\n    delay(1000);\n}\n```\n\n\n## Library installation\n\nPlease refer to the [Wiki](https://github.com/Erriez/ErriezArduinoLibrariesAndSketches/wiki) page.\n\n\n## Other Arduino Libraries and Sketches from Erriez\n\n[Erriez Libraries and Sketches](https://github.com/Erriez/ErriezArduinoLibrariesAndSketches)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferriez%2Ferriezmcp23017","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferriez%2Ferriezmcp23017","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferriez%2Ferriezmcp23017/lists"}