I have a lepotato and an rpi 3B. I’m using some C code to read/write an i2c device and everything works on the rpi but not on the potato. The C code uses i2c_smbus_read_word_data and i2c_smbus_write_word_data. Should these be expected to work on the potato?
On the potato i2cdetect shows the device is present and at the expected address. The C reads are always returning the same incorrect value. The i2c does work using SMBus from a python test script.
Ideas?