Skip to main content

Python library for the ADS1015 and ADS1115 4-channel ADC

Project description

ADS1015 4 channel differential/single-ended ADC

Build Status Coverage Status PyPi Package Python Versions

Installing

Stable library from PyPi:

  • Just run sudo pip install ads1015

Latest/development library from GitHub:

  • git clone https://github.com/pimoroni/ads1015-python
  • cd ads1015-python
  • sudo ./install.sh

Changelog

0.0.8

  • Add thread-safe wrapper around ADC reads

0.0.7

  • Fix setting data rate
  • Add support for ADS1115
  • Add new detect_chip_type function

0.0.6

  • Added support for all addresses ads1015 supports
  • Genericized implementation away from pimoroni breakout
  • Typo fixes in docstring
  • Fix get_multiplexer so that it returns a value

0.0.5

  • Fix to support alternate i2c address
  • Typo fixes in DocString and comment

0.0.4

  • Port to i2cdevice>=0.0.6 set/get API

0.0.3

  • Fixed timeout in wait_for_conversion
  • Aliased timeout exception to ads1015.ADS1015TimeoutError

0.0.2

  • Fixed Python 2.7 bug with missing TimeoutError

0.0.1

  • 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

ads1015-0.0.8.tar.gz (7.5 kB view hashes)

Uploaded source

Built Distribution

ads1015-0.0.8-py2.py3-none-any.whl (6.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page