I2C proximity sensor