i2c-for-esp32


Namei2c-for-esp32 JSON
Version 0.4.3 PyPI version JSON
download
home_pagehttps://github.com/iory/i2c-for-esp32
SummaryI2C library for ESP32
upload_time2025-02-03 06:36:38
maintainerNone
docs_urlNone
authoriory
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # i2c-for-esp32

## Extended Arduino Library for I2C Slave on ESP32

This repository contains modifications to the original Arduino library found at https://github.com/gutierrezps/ESP32_I2C_Slave .
The key enhancement enables the sending of longer packets.

Packet Format
The expected packet format is detailed below:

```
[0]: start byte (0x02)
[1]: number of packet length bytes (L)
[2:2+L]: packet length (N)
[2+L]: data[0]
[3+L]: data[1]
...
[N+1+L]: data[N-1]
[N+2+L]: CRC8 of packet length and data
[N+3+L]: end byte (0x04)
```

Feel free to expand on this by adding any installation, usage instructions or any other relevant details as required.

## Python library


We provide a Python library for exchanging bytearrays received in Python.

You can install it using the following command:

```
pip install i2c-for-esp32
```

For usage instructions, please refer to:
https://github.com/iory/i2c-for-esp32/blob/master/examples/radxa_with_atom_echo/radxa_i2c_audio_publisher.py

## Sample

### Radxa with Atom Echo

A sample that communicates with radxa and atom echo to retrieve audio data from a microphone can be found at:
https://github.com/iory/i2c-for-esp32/tree/master/examples/radxa_with_atom_echo

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/iory/i2c-for-esp32",
    "name": "i2c-for-esp32",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "iory",
    "author_email": "yanokura@jsk.imi.i.u-tokyo.ac.jp",
    "download_url": "https://files.pythonhosted.org/packages/be/68/b13ee0f423c839902ee7cfa34e58cb8cf978976b1363d2a03338c4d8f0e2/i2c_for_esp32-0.4.3.tar.gz",
    "platform": null,
    "description": "# i2c-for-esp32\n\n## Extended Arduino Library for I2C Slave on ESP32\n\nThis repository contains modifications to the original Arduino library found at https://github.com/gutierrezps/ESP32_I2C_Slave .\nThe key enhancement enables the sending of longer packets.\n\nPacket Format\nThe expected packet format is detailed below:\n\n```\n[0]: start byte (0x02)\n[1]: number of packet length bytes (L)\n[2:2+L]: packet length (N)\n[2+L]: data[0]\n[3+L]: data[1]\n...\n[N+1+L]: data[N-1]\n[N+2+L]: CRC8 of packet length and data\n[N+3+L]: end byte (0x04)\n```\n\nFeel free to expand on this by adding any installation, usage instructions or any other relevant details as required.\n\n## Python library\n\n\nWe provide a Python library for exchanging bytearrays received in Python.\n\nYou can install it using the following command:\n\n```\npip install i2c-for-esp32\n```\n\nFor usage instructions, please refer to:\nhttps://github.com/iory/i2c-for-esp32/blob/master/examples/radxa_with_atom_echo/radxa_i2c_audio_publisher.py\n\n## Sample\n\n### Radxa with Atom Echo\n\nA sample that communicates with radxa and atom echo to retrieve audio data from a microphone can be found at:\nhttps://github.com/iory/i2c-for-esp32/tree/master/examples/radxa_with_atom_echo\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "I2C library for ESP32",
    "version": "0.4.3",
    "project_urls": {
        "Homepage": "https://github.com/iory/i2c-for-esp32"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "99637fc85e6af610b4f257aadd8eb787e4fa51cdaab390f6f3f90db3d44d4f69",
                "md5": "0d48e532761b5b7ab98dc3700d787766",
                "sha256": "280fd4357f5e36f0ea7b9b4b5085f2be50d0c86c8a811806b51774c0f0ccfb73"
            },
            "downloads": -1,
            "filename": "i2c_for_esp32-0.4.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0d48e532761b5b7ab98dc3700d787766",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 14854,
            "upload_time": "2025-02-03T06:36:37",
            "upload_time_iso_8601": "2025-02-03T06:36:37.417942Z",
            "url": "https://files.pythonhosted.org/packages/99/63/7fc85e6af610b4f257aadd8eb787e4fa51cdaab390f6f3f90db3d44d4f69/i2c_for_esp32-0.4.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "be68b13ee0f423c839902ee7cfa34e58cb8cf978976b1363d2a03338c4d8f0e2",
                "md5": "b769c4a261deb260635c6a44edd3018b",
                "sha256": "c065ef4367fd312b71eeeb7b891a1c1df8fcc0dee8865f239177f612f53d78a5"
            },
            "downloads": -1,
            "filename": "i2c_for_esp32-0.4.3.tar.gz",
            "has_sig": false,
            "md5_digest": "b769c4a261deb260635c6a44edd3018b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 13867,
            "upload_time": "2025-02-03T06:36:38",
            "upload_time_iso_8601": "2025-02-03T06:36:38.992755Z",
            "url": "https://files.pythonhosted.org/packages/be/68/b13ee0f423c839902ee7cfa34e58cb8cf978976b1363d2a03338c4d8f0e2/i2c_for_esp32-0.4.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-03 06:36:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "iory",
    "github_project": "i2c-for-esp32",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "i2c-for-esp32"
}
        
Elapsed time: 7.39303s