Trying to use the Raspberry Pi Pico W and some i2c devices with micropython but running into issues.
When I try to scan one device, it seems fine, but as soon as any more come onto the I2C bus, it never seems consistent with the result, most of the time coming up with no addresses.
This is the code I am using:
from machine import Pin, I2C
i2c = I2C(0, scl=Pin(1), sda=Pin(0))
addrs = [hex(addr) for addr in i2c.scan()]
print(addrs)
and the Schematic.
If anyone has any ideas, please let me know as I have tried rebuilding the circuit about a billion times, and nothing seems to help.
Cheers
Jacob