{"id":22253938,"url":"https://github.com/mcauser/i2cdetect","last_synced_at":"2025-07-04T12:07:46.767Z","repository":{"id":150620577,"uuid":"52967052","full_name":"mcauser/i2cdetect","owner":"mcauser","description":"Arduino library for scanning I2C bus for devices","archived":false,"fork":false,"pushed_at":"2016-03-02T15:19:21.000Z","size":3,"stargazers_count":29,"open_issues_count":1,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-04T15:50:44.173Z","etag":null,"topics":["arduino-library","i2c","i2cdetect"],"latest_commit_sha":null,"homepage":null,"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/mcauser.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-03-02T14:01:52.000Z","updated_at":"2024-12-27T17:59:11.000Z","dependencies_parsed_at":"2023-05-06T09:33:15.712Z","dependency_job_id":null,"html_url":"https://github.com/mcauser/i2cdetect","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mcauser/i2cdetect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2Fi2cdetect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2Fi2cdetect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2Fi2cdetect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2Fi2cdetect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcauser","download_url":"https://codeload.github.com/mcauser/i2cdetect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2Fi2cdetect/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263507898,"owners_count":23477406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["arduino-library","i2c","i2cdetect"],"created_at":"2024-12-03T07:21:13.806Z","updated_at":"2025-07-04T12:07:46.746Z","avatar_url":"https://github.com/mcauser.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# i2cdetect\n\nArduino library for scanning I2C bus for devices.\n\nOutputs a table similar to the [linux program](http://linux.die.net/man/8/i2cdetect) of the same name.\n\nEach cell will contain one of the following symbols:\n\n* \"--\" when the address was probed but no chip answered\n* An address in hexadecimal, e.g. \"1e\", when a chip was found at the address\n\nThe optional parameters first and last restrict the scanning range (default: from 0x03 to 0x77).\n\n## Example\n\n```\n#include \u003cWire.h\u003e\n#include \u003ci2cdetect.h\u003e\n\nvoid setup() {\n  Wire.begin();\n  Serial.begin(9600);\n  Serial.println(\"i2cdetect example\\n\");\n  Serial.print(\"Scanning address range 0x03-0x77\\n\\n\");\n}\n\nvoid loop() {\n  i2cdetect();  // default range from 0x03 to 0x77\n  delay(2000);\n}\n```\n\n## Serial monitor output\n\n```\ni2cdetect example\nScanning address range 0x03-0x77\n\n     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f\n00:          -- -- -- -- -- -- -- -- -- -- -- -- --\n10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 1e --\n20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --\n30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --\n40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --\n50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --\n60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --\n70: -- -- -- -- -- -- -- --\n```\n\n## Tested on devices\n\n* [Arduino UNO R3 - ATmega328P](https://www.arduino.cc/en/Main/ArduinoBoardUno)\n* [WeMos D1 mini - ESP8266](http://www.wemos.cc/wiki/doku.php?id=en:d1_mini)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcauser%2Fi2cdetect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcauser%2Fi2cdetect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcauser%2Fi2cdetect/lists"}