New answers tagged

0

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


1

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 https://www.arduino.cc/en/Main/Software See https://arduino.stackexchange.com/a/44813/3879 for ...


Top 50 recent answers are included