@jnc said in Connecting a sensor to WiPy 1 via I2C:
I assume you have to specify the scl and ads pin in the constructor, like:
i2c = I2C(0, scl=lux_scl, sda=lux_sda)
And you may have to switch GP12 and GP13, as far as I understand the PinOut https://raw.githubusercontent.com/wipy/wipy/master/docs/PinOUT.png
lux_scl = Pin('GP12', mode=Pin.ALT, alt=5)
lux_sda = Pin('GP13', mode=Pin.ALT, alt=5)