CircuitPython driver for Dallas 1-Wire temperature sensor.
Project description
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
Close
Hashes for adafruit-circuitpython-ds18x20-1.3.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24951949b030bcf5aa03255ce64b6b4173811096bcb1bb9e1b6ef3d9e0217e7d |
|
MD5 | ce8a0cdf63240ca0ff4704a339ea6c4f |
|
BLAKE2-256 | db3bbaf56d62e749602769e6da562f5949cb43c38c8736b1b5a17c82fd22ddf0 |