Me again! Trying to get an i2c device working. i2cdetect finds my device but the code doesn’t work. Based on the output from a logic analyzer, my cpp code never accesses the i2c bus at all, so must be making a fundamental mistake.
Some configuration step I might be missing?
The code is compiled using i2c/smbus.h. Is that likely to be an issue? Would prefer to stick to that to avoid code rewrites if possible.