The working code I have is for Arduino. (Would that help you at all?) I had something for the RPi that was ALMOST working, but I seem to have broken something as far as libraries/drivers.
So…If you want something for the RPi, I need some help, first! ha
I had things working (including all of the pimoroni examples), but then I broke something after installing libi2c-dev and adding some additional i2c busses using dtoverlay. I couldn’t get any actual data from the sensors after this.
I’ve gone so far as to wipe the SD card and start fresh, newest kernel, tried to follow the instructions (without and with libi2c-dev installed), yet nothing works. So, can anyone help me out? If you have it working, telling me which kernel and drivers you have and which libraries/modules you had to install would be great.
I would think that I damaged the sensors, but find it unlikely since I have three and all of them still read/write using the Arduino.