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.9.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.9.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.4.9.tar.gz
Algorithm Hash digest
SHA256 24a05b8e03ca161f0c4a739061336d9ad57b4862f380239149a6fc86e170467a
MD5 17db8bbc1e768afc1b14e3b8eec31135
BLAKE2b-256 772cb7293b17c2ebbcf7347bd6abf8bd247d2b5b20ca51e4030e2eee71529c1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 fb5781a8785c7c9ed8cbfdeb0def50f2a18089dcb2d761774e8c048c13e032df
MD5 ce5ce8cd13671153e7ce51053066c92f
BLAKE2b-256 47cb2d62d4ff5ff7d29eea68eaed86c4cb4138aea8db8c447e5241d75baee91a

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