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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.4.2.tar.gz
Algorithm Hash digest
SHA256 9b958c19f5b1002f5a6b45aede8776c8dcbc28c40bd72254c7a3f7240bb18de0
MD5 b9f1c978db7bc474dd74a481fcd9fe33
BLAKE2b-256 585ea628a01c90274b2053d309dec8203905619a3c4d245a654653d40ef20e7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_ds18x20-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cf8bb2d9ff47acfc7110cd26d99630f28edd37f3cf05081e8c226f04bd98216a
MD5 338f626ef4b584ca5b91f9a0f39d158f
BLAKE2b-256 86f04e152b201117206895ad8ad48347c9866da80739ba06eae83284d937633a

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