Yes that looks like the error .Is there a specific reason for the i2c speed of freq=200 ? The device should support 400_000 at least.
Pullup resistors for I2C lines of 4k7 are fine. These pullup go to VCC 3.3V .
The I2C lines SDA and SCL of pico go to the I2C lines SDA and SCL of the sensor.
Are there any error messages when executing the program ?
freq= is measured in hz not kHz so try freq=200000 . It's likely that the I2C is being set to 0Hz as freq is truncated.
Statistics: Posted by BillTodd — Wed Feb 28, 2024 11:41 am