Software I2C on digital pins?

I need to drive an I2C motor controller, but I also need to use all 6 analog pins for sensors.

Has anyone tried to make a library for running I2C on the digital pins? I tried a little myself, but cant get it to work :frowning:

Tanks :slight_smile:

Have you thought about using an external analogue mux?

I2C by s/w is likely to be sloooow.

We don't have the time unfortunately :frowning:
Plans are to drop two of the sensors and use hardware I2C - but thanks anyway :slight_smile:

We don't have the time unfortunately

It isn't difficult, unless you've already designed a board for it.
Just a 4051, power, ground and thee digital lines.

Certainly a lot quicker than integrating and debugging software I2C.