{"id":26738780,"url":"https://github.com/qqqlab/esp32_softwire","last_synced_at":"2025-04-14T14:42:05.774Z","repository":{"id":210627989,"uuid":"727066261","full_name":"qqqlab/ESP32_SoftWire","owner":"qqqlab","description":"ESP32 fast bit-bang I2C library for Arduino, drop in replacement for Wire.h","archived":false,"fork":false,"pushed_at":"2024-08-21T08:49:41.000Z","size":48,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T03:38:14.136Z","etag":null,"topics":["arduino-library","esp32","esp32-arduino","i2c","i2c-master"],"latest_commit_sha":null,"homepage":"","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/qqqlab.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":"2023-12-04T05:35:40.000Z","updated_at":"2025-03-26T09:34:45.000Z","dependencies_parsed_at":"2023-12-19T17:19:50.472Z","dependency_job_id":"9690c91f-440d-45b7-b870-1c045ab0f515","html_url":"https://github.com/qqqlab/ESP32_SoftWire","commit_stats":null,"previous_names":["qqqlab/esp32-softwire","qqqlab/esp32_softwire"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qqqlab%2FESP32_SoftWire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qqqlab%2FESP32_SoftWire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qqqlab%2FESP32_SoftWire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qqqlab%2FESP32_SoftWire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qqqlab","download_url":"https://codeload.github.com/qqqlab/ESP32_SoftWire/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248898561,"owners_count":21179793,"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","esp32","esp32-arduino","i2c","i2c-master"],"created_at":"2025-03-28T03:38:17.975Z","updated_at":"2025-04-14T14:42:05.739Z","avatar_url":"https://github.com/qqqlab.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32_SoftWire\n\nESP32 fast bit-bang I2C library for Arduino, drop in replacement for Wire.h\n\nThe library reaches up to 3 MHz I2C clock speed. No fancy bits and bobs: no timeouts, no clock stretching, blocking only... Made for fast IMU sensor reading were an occasional missed read does not matter, but bus hangups do matter.\n\nTested on ESP32, probably works on ESP32-S3 and ESP32-C3, might work on other ESP32 variants.\n\nLimitation: pins 0-31 only\n\n## Background\n\nAs of December 2023 the official [arduino-esp32 Wire](https://github.com/espressif/arduino-esp32/tree/master/libraries/Wire) library has some nasty bugs. In particular, there is a *1 second* timeout which hangs the bus on a bad read, and this timeout can not be lowered without changing the source code, see https://github.com/espressif/esp-idf/issues/4999 and https://github.com/espressif/arduino-esp32/issues/5934. So occasionally (a couple times per minute) 1000 samples are missed when you are reading a sensor at 1 kHz. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqqqlab%2Fesp32_softwire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqqqlab%2Fesp32_softwire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqqqlab%2Fesp32_softwire/lists"}