New answers tagged


this does not works for me but this works def readLong(): block = bus.read_i2c_block_data(address, 1) #second arg is 'cmd'. It is andatory but not used in this case. It may be used by the higher level protocol n=struct.unpack('<l',bytes(block[:4]))[0] return n


As you have discovered the version in the repository is hopelessly outdated (and will NEVER be fixed, because of some Debian politics). You can safely purge the installation without losing any of your files. Just download the Linux ARM 32bits version from See for ...

Top 50 recent answers are included