Introduction
Classes for use in communicating with devices on a 1-Wire bus.
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.
Note: This library does not work on the Raspberry Pi as there is no kernel interface for it
Usage Example
import board
from adafruit_onewire.bus import OneWireBus
ow_bus = OneWireBus(board.D2)
devices = ow_bus.scan()
for d in devices:
print("ROM={}\tFamily=0x{:02x}".format(d.rom, d.family_code))
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.
Release files for adafruit-circuitpython-onewire 2.0.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| adafruit_circuitpython_onewire-2.0.14.tar.gz | 23.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| adafruit_circuitpython_onewire-2.0.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.7 kB
Release files / adafruit_circuitpython_onewire-2.0.14.tar.gz
| Download URL | adafruit_circuitpython_onewire-2.0.14.tar.gz |
|---|---|
| Size | 23.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44192e44d07f1edef1890025668d9659667b0357f012b47d46487501d412ebda
|
|
BLAKE2b-256 checksum How to use checksums |
eb21a03537a26f0165e52e8cfbb550359c4845781239334517b8bc4f133f3c27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / adafruit_circuitpython_onewire-2.0.14-py3-none-any.whl
| Download URL | adafruit_circuitpython_onewire-2.0.14-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b58f92df2a8346ccec1989e47841a6776c17a1766f48a1900dd4b14d9b0b5211
|
|
BLAKE2b-256 checksum How to use checksums |
0da04358c9c2ead3155c7f94256da6a1c4c2feccd021c232191bb117bc02f7a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|