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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for adafruit-circuitpython-ds18x20-1.3.19.tar.gz
Algorithm Hash digest
SHA256 6fb18140c425bb7bee6bb92a561f621c8b7596bd5f269c5c99eaa4418d813c83
MD5 c18052a18e6e95a3eaab4b2fd77096c6
BLAKE2b-256 539c6112e4045d99f2d9741565eec77a43169ba44777df0daaca38e133b31b33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.3.19-py3-none-any.whl
Algorithm Hash digest
SHA256 cc3e381d28a3e8e1ba92ed4ca2e2f0924193bd3ac5c8ae1983944667e48ba899
MD5 1ef3637b185bd778f733ba736d7ff970
BLAKE2b-256 b994a2e8fb352a31313454de609bc9017628796ad07f905adb8dda70aa1ffa74

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