Skip to main content

CircuitPython driver for Dallas 1-Wire temperature sensor.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Ruff

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file adafruit_circuitpython_ds18x20-1.4.7.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.4.7.tar.gz
Algorithm Hash digest
SHA256 f255aa6ba33adfa7ce8e257759908c71380a4fc040832480941d2a91f734fc90
MD5 9dac4fa3e5fe241f00bdc1b0b35a4fae
BLAKE2b-256 1587191b1dcbc03923859cfcc4411402e30364ff7fc90d6cd7b58b3d52479f56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 55c3215d7ef511d7bb19d65c7c8c3344dbed9f7efe24e169f9f6511285fd1827
MD5 81aac069b5f19fe2a329e82137da53ae
BLAKE2b-256 bcfc9483cb587ba1cf5c66b262cf429e400b75fa80a97f65b9e7aa7836ba7745

See more details on using hashes here.

Supported by

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