Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sensirion-i2c-driver-1.0.0.tar.gz (11.3 kB view hashes)

Uploaded Source

Built Distributions

sensirion_i2c_driver-1.0.0-py3-none-any.whl (16.4 kB view hashes)

Uploaded Python 3

sensirion_i2c_driver-1.0.0-py2-none-any.whl (16.4 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page