CircuitPython driver for Dallas 1-Wire temperature sensor.
Project description
Introduction
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file adafruit-circuitpython-ds18x20-1.3.18.tar.gz
.
File metadata
- Download URL: adafruit-circuitpython-ds18x20-1.3.18.tar.gz
- Upload date:
- Size: 27.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04955dca70ed46f43455aa24af88835e1e851d62c3f8205a0bfd0217ddd201b0 |
|
MD5 | a04a6deaa4a6aca8851c42368ae74655 |
|
BLAKE2b-256 | f6fa0f2d034425729f95c4888bfadd77c9a1977049afa927897ec449b88881a7 |
File details
Details for the file adafruit_circuitpython_ds18x20-1.3.18-py3-none-any.whl
.
File metadata
- Download URL: adafruit_circuitpython_ds18x20-1.3.18-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bf271f9a967b319dc967e767ad8098a5c2a163700e63c0755cca47b295cd742 |
|
MD5 | 289e2aab03246d80bae4ef71625a0fe6 |
|
BLAKE2b-256 | 3bf9c428a87b8d583053970d238f301657abbce9fb3c6d0a37c0891299c1a392 |