{"id":16516669,"url":"https://github.com/eadf/esp8266_i2c_master","last_synced_at":"2025-10-28T05:31:17.024Z","repository":{"id":28433382,"uuid":"31948379","full_name":"eadf/esp8266_i2c_master","owner":"eadf","description":"Drop in replacement for the IoT i2c_master driver","archived":false,"fork":false,"pushed_at":"2015-03-15T20:51:55.000Z","size":152,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-01T12:11:13.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eadf.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}},"created_at":"2015-03-10T09:20:36.000Z","updated_at":"2020-12-10T22:30:30.000Z","dependencies_parsed_at":"2022-09-03T05:22:14.645Z","dependency_job_id":null,"html_url":"https://github.com/eadf/esp8266_i2c_master","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eadf%2Fesp8266_i2c_master","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eadf%2Fesp8266_i2c_master/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eadf%2Fesp8266_i2c_master/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eadf%2Fesp8266_i2c_master/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eadf","download_url":"https://codeload.github.com/eadf/esp8266_i2c_master/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238603669,"owners_count":19499490,"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":[],"created_at":"2024-10-11T16:26:00.270Z","updated_at":"2025-10-28T05:31:11.738Z","avatar_url":"https://github.com/eadf.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esp8266_i2c_master\n\nDrop in replacement for the IoT demo ```i2c_master.c``` and ```i2c_master.h```\n\n\nThis implementation allows the I²C pins to be defined with **only** two #defines.\n\nIt also has easy to use convenience methods ```i2c_master_writeRegister()``` and ```i2c_master_readRegister()```.\n\nTo define the SDA and SCL pins you just add ```CFLAGS=\"-DI2C_MASTER_SDA_GPIO=2 -DI2C_MASTER_SCL_GPIO=12\"``` (or whatever pin numbers you preffer), to your Makefile. Alternatively you can define them in ```user_config.h```\n\nIf no gpio pin numbers are assigned the default SDA=2, SCL=12 pins will be used.\n\nTODO:\n* ~~Testing~~ It passes the mcp23017 basic tests, but one can't test too much..\n* ~~implement the added convenience methods ```i2c_master_writeRegister()``` and ```i2c_master_readRegister()```~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feadf%2Fesp8266_i2c_master","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feadf%2Fesp8266_i2c_master","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feadf%2Fesp8266_i2c_master/lists"}