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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for adafruit-circuitpython-ds18x20-1.3.13.tar.gz
Algorithm Hash digest
SHA256 54a114d308e59da60d62594b2ebd1ba9b8f0d83e5e8a0e328a722b689b134c04
MD5 14f963bc963bac479ca049ea1cb75c83
BLAKE2b-256 10eb52b5d9ee77601922eff04c908fdb878669446435f06583ffe01d48936fc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.3.13-py3-none-any.whl
Algorithm Hash digest
SHA256 927b8a59a2949d79ceb546e9fee67bfec52e1725c63fa563a04347c20a6d30ed
MD5 b7cabf362a6368b4c5dfd6efb90eeeac
BLAKE2b-256 1b2e0f26a0bcf98684787aa5c497023bd8e00e6b37d362795ef25f55b2e3a850

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