You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Jean Delvare 4d60bc4af7 Misc coding-style fixes. 17 years ago
..
Module.mk py-smbus depends on <linux/i2c-dev.h>. 17 years ago
README Drop stray reference to lm-sensors. 17 years ago
setup.py Update maintainer address. 17 years ago
smbusmodule.c Clarify Linux kernel vs. GNU/Linux OS. 17 years ago

README


README: py-smbus

To build:
$ python setup.py build

To install (will also build if necessary):
$ python setup.py install

For general build/install help:
$ python setup.py --help-commands

Frequently Answered Question:

Q: It's throwing exceptions, nothing works, what's wrong?

A1: You need write permissions to the i2c-dev devices. Try running as root.

A2: Addresses in Linux/I2C are the most-sig 7 bits, right-justified. E.g.
if your device uses address 0xc0 to write and 0xc1 to read, then use
address 0x60 with this module.

A3: Some other kernel driver has claimed that I2C address. Unload it first.