Skip to main content

ds18b20 userspace library for Rapsberry Pi

Project description

This library is userspace and doesn't need any kernel patches or modifications

You are free to use any GPIOs available. (GPIOs are numbered in BCM format)
You are free to use multiple GPIOs at the same time.

Make sure you have compiler, python-dev or python3-dev package installed, so that
Distutils could compile C extension modules.

Usage:

import time
import ds18b20pi
ds18b20pi.bus.convert(pin)
time.sleep(0.75)
for id, temperature in ds18b20pi.bus.search(pin).iteritems():
print(id,temperature)

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

ds18b20pi-0.1.tar.gz (6.0 kB view hashes)

Uploaded Source

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