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
Metadata
Release files for i2c-for-esp32 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| i2c_for_esp32-0.4.4.tar.gz | 13.9 kB | Without provenance | Details for i2c_for_esp32-0.4.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| i2c_for_esp32-0.4.4-py3-none-any.whl | Python 3 | none | any | Details for i2c_for_esp32-0.4.4-py3-none-any.whl |
Total release size: 28.8 kB
Release files / i2c_for_esp32-0.4.4.tar.gz
| Download URL | i2c_for_esp32-0.4.4.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ab3a3aac9939e0e477f73a2d8a3032ad9b7431e2848e7c71cd7eb7fc412b43c
|
|
BLAKE2b-256 checksum How to use checksums |
715a3c6610ba9e78399e398ddaf18899492ab4daa6e0dfb13beb0542f4208827
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / i2c_for_esp32-0.4.4-py3-none-any.whl
| Download URL | i2c_for_esp32-0.4.4-py3-none-any.whl |
|---|---|
| Size | 14.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45cb4ce7dd264e617ddfba967e35efaa0c124cc86379838f2c181c0e2540ee11
|
|
BLAKE2b-256 checksum How to use checksums |
1e92ca290e26593c93c7229decd0d4e95016adb61d6cade6aadc5b3a08e25605
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Security for i2c-for-esp32 0.4.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.