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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.4.1.tar.gz
Algorithm Hash digest
SHA256 43230cc6e9849e3c0f8094e3c338a443ca1def9bbd204016ff6877938f6497aa
MD5 eadefc71cad5e72f22d423c77975a998
BLAKE2b-256 032b74b4499d0b2b35b191e595beabef493c247beab90302e2a709d64f00f544

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e5de32c5a4e3abc885d05b9a0566e5bf2dd95ec1364a60d8a0212f85ed4531d
MD5 d17ede3f978813aed24a0de34388c672
BLAKE2b-256 34a267e866d3ba1f55ff72a37d2ba7afe5c5c4a9f710f6d8e3f1965f816863b4

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