RFC: Python bindings to Linux i2c-dev

Discussion in 'Python' started by Mark M. Hoffman, Jan 22, 2005.

  1. Hi everyone:

    I've created a Python extension in C for the Linux i2c-dev interface.
    As this is my first attempt at extending Python, I would appreciate any
    comments or suggestions. I'm especially interested to know if (and
    where) I got any of the ref-counting wrong. But I'm also interested
    in comments about the style, the interface, or whatever else. You can
    find my source code here [1].

    If you actually want to build/install/use this thing, you better read
    the caveats here [2].

    And in case you're interested, here is a page full of links to info on
    I2C/SMBus [3].

    [1] http://members.dca.net/mhoffman/sensors/python/20050122/

    [2] http://archives.andrew.net.au/lm-sensors/msg28792.html

    [3] http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/useful_addresses.html

    Thanks and regards,
    Mark M. Hoffman, Jan 22, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.