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 python3 -m pip install ads1015

Latest/development library from GitHub:

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

1.0.0

  • Enhancement: Repackage to pyproject.toml/hatchling
  • Isort and black code formatting

0.0.8

  • Add thread-safe wrapper around ADC reads
  • Minor spelling fixes

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-1.0.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

ads1015-1.0.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file ads1015-1.0.0.tar.gz.

File metadata

  • Download URL: ads1015-1.0.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ads1015-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0995e66ee7cbba9d7760ad122340a956b3050ab5bb2505ba06c554742f446180
MD5 bcd3c4a17a22c4912ada772df194b701
BLAKE2b-256 44c5c8135fb184dd9d8a75d9c2155cd0484a0c11ef2e94a3f5eafe901897c176

See more details on using hashes here.

File details

Details for the file ads1015-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ads1015-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ads1015-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3497a7457f045b4abd049e96ab3a5ff95603a3b08b36273e4dfa6234964130df
MD5 395b4d7ae09e827e94db2272e9fd42ff
BLAKE2b-256 16cfdef7de4d79d090f59cd2fd2f0b4715a869505d765f30963be2fd1c7d7c68

See more details on using hashes here.

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