Can SDA Pin Works if it connected to other GPIO pin which is also pulled up.

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by samson.p on Wed Jun 24 03:28:32 MST 2015
Hello Everyone,

Am working on  LPC1765 controller and am using Analog Sensor and I2C based Color sensor. Both sensors are connected one at a time.We designed in schematic like ADC pin(P0[23]) and SDA pin(P0[27])are joined together through switch  when we want to connect I2C based sensor.

My query is will my I2C sensor will work if i make that ADC pin which was connected to SDA pin as GPIO?

Kindly support me in this.