Skip to main content

CircuitPython driver for Dallas 1-Wire temperature sensor.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Black

CircuitPython driver for Dallas 1-Wire temperature sensor.

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Usage Example

import board
from adafruit_onewire.bus import OneWireBus
from adafruit_ds18x20 import DS18X20

ow_bus = OneWireBus(board.D2)
ds18 = DS18X20(ow_bus, ow_bus.scan()[0])
ds18.temperature

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

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

adafruit-circuitpython-ds18x20-1.3.15.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file adafruit-circuitpython-ds18x20-1.3.15.tar.gz.

File metadata

File hashes

Hashes for adafruit-circuitpython-ds18x20-1.3.15.tar.gz
Algorithm Hash digest
SHA256 c71974e72735fd72bd093befe47f033c66d4d8d2ff541a06d17d0c8c27b85a26
MD5 5cea55f8e62266a1e6104f8d9dce58f5
BLAKE2b-256 dceaa2a744bd921a0519042050c8fe4e9016e09dd3f5cb08aa88b5274b27ac78

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_ds18x20-1.3.15-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.3.15-py3-none-any.whl
Algorithm Hash digest
SHA256 394e4d6de671065c1b2fba76e10deca8e0e9e23e25050b08dc0b2b63d2ec3518
MD5 d27bbfa269e32fd5dba34ffa2ca25c8b
BLAKE2b-256 f467bbbf1d910e7138719c7972287362a75e3788ac46874d4af3572acf51a77c

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