i2c with python: read block without cmd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
i want to read several bytes from an i2c device without specifing a cmd.
I found a fork of i2c-tools Version 3 that makes that possible: https://github.com/MLAB-project/i2c-tools. There are two new functions: write_i2c_block and read_i2c_block
    
I downloaded Version 4, added the code of the fork to Version 4 and built it. As far as I've tested it, it is working.

Is this also possible with the official version without patching it? 
Thanks
Andreas




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux