Skip to main content

CircuitPython OneWire helper library for 1-wire bus devices.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Ruff

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.

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_onewire-2.0.11.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file adafruit_circuitpython_onewire-2.0.11.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_onewire-2.0.11.tar.gz
Algorithm Hash digest
SHA256 10144663e79b3cf72d415a70438049c59ad3ab2fe2c76561b56fe498d05f7e98
MD5 eb8e3c54fc6d5493f5cfc8a1136c340b
BLAKE2b-256 43e0ba631136f54897d94765e02d1009488e654307934b26c53e4ad6023f62af

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_onewire-2.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_onewire-2.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 f963f4ba5e0a025aada6c227cfd855d29ec42019873efbc41e27acfac36ca211
MD5 3e4538f4e24f4b70bee7bb341e4b4283
BLAKE2b-256 d5f863778dcf38d5ce6b0d7748c636defd657fd9f2a56c5d9eb7c3d8be38473b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page