Access to i2c low level calls through python onionI2C



  • I'm using a keller pressure meter PA-4LD and it has some tricks in it's i2c communication that isn't really like others.

    Therefore I need to send a writeByte and wait a while before doing the read. That is not possible beacuse the readBytes() call is not able to wait and I cannot do a separate writeByte and then the readBytes() because readBytes resends the address which seems to confuse the device.

    Is there any possibilty to extend onionI2C to have the same interface as smbus on rasperry etc and also the low level calls to be able to craft more special communication. https://www.kernel.org/doc/Documentation/i2c/smbus-protocol

    I'm not very skilled in C and accessing the libs directly. Python is much easier



Looks like your connection to Community was lost, please wait while we try to reconnect.