Base Driver for Communicating With I2C Devices
Project description
This package contains the base I²C driver for various Sensirion sensors. It handles low-level things like type conversions, checksum calculation, error handling etc.
Note
Normally you shouldn’t use this driver directly - instead you should use the device-specific driver for your actual device as it provides easy-to-use commands. But this driver is still useful if you want to transceive raw I²C frames, or if there is no specific driver available yet for your device.
Installation and Usage
The user manual is available at https://sensirion.github.io/python-i2c-driver/.
CHANGELOG
1.0.0
First public release
Add support for post processing time of commands
Add property is_multi_channel to I2cConnection
Make API of SensirionWordI2cCommand byte-oriented
Rename class SensirionWordI2cCommand to SensirionI2cCommand
Remove methods read() and write() from I2cConnection
Remove asynchronous mode (including the read() method) from I2cDevice
Log transceived raw data with log.debug()
Various documentation improvements
0.1.0
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file sensirion-i2c-driver-1.0.0.tar.gz
.
File metadata
- Download URL: sensirion-i2c-driver-1.0.0.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c066abaddf0b9f0dea9d9e8699e7864147ef2df9279ee70e14bed7fbc0a4d699 |
|
MD5 | 142add38589c2292c83431953c3fb2dd |
|
BLAKE2b-256 | cef14f93888437ad878e618556c6effe4006f36444a7ff1342759987ac6eefdb |
File details
Details for the file sensirion_i2c_driver-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: sensirion_i2c_driver-1.0.0-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b71b033904454e9e7e9883215b26ced14fe3ddeba17b1f5f51f1b461ec23d9b |
|
MD5 | dbe642b2f528c83066f87d7bee87e5ba |
|
BLAKE2b-256 | 65a7bd324496e4b4823aafcf0aaa07564f18ca92aba5e8d5c4cbfd2d1d52d6ba |
File details
Details for the file sensirion_i2c_driver-1.0.0-py2-none-any.whl
.
File metadata
- Download URL: sensirion_i2c_driver-1.0.0-py2-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ade0c0315a5901ae4b08c0ea92bbbc026be2a828c6351ce1e7c34788cd2f9b8b |
|
MD5 | d6532533acd873f274bd73a168931ef2 |
|
BLAKE2b-256 | e1d2ef8c0c667a3fbbd696724443ff079d8085236ae89b32a5686c1a3b303fd2 |