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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for adafruit-circuitpython-ds18x20-1.3.16.tar.gz
Algorithm Hash digest
SHA256 3f771e58c2889036fdc3bd8c7389fb433eb3c8d17112f2a5376f62fab806a955
MD5 e26fe692f4982cbc7b62add77c526d41
BLAKE2b-256 957a5738fd2ff46e4d0fa725c3cb3ded4a826c5bbaddc70fd135dfc29666f42c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.3.16-py3-none-any.whl
Algorithm Hash digest
SHA256 cb1a4d55582e026000914334bf0f22db01f52811e16a50a6a14bea28a3ef53fd
MD5 cb1d4de369c5db0d8efc8ceb64269b0b
BLAKE2b-256 ce9c2ffc2a6b1fabb2e48dfb793f970e93c1ce3cd9b2cf99cf4ac029ef115f57

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