2023-11-28, 06:31 AM
If you are sure the connections are good, the best way is to try a different sensor, and/or pi to see which one is the issue. For example you could have damaged the i2c bus on the pi, and the sensor is fine.
Also if you can try a fresh sd card to rule out software.
Also if you can try a fresh sd card to rule out software.