Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Pommie you are right too but. You can do the same with a pullup and using a normal high/low scheme as output. It wouldnt short because of the resistor.
Im sure he has only 1 device on the bus. I understand its use for multiple I2C devices but this is not the case.
That's what I'm taking about lolYou simply set the SDA/SCL pins permanent LOW, and alter TRIS to switch the I/O pin HIGH or LOW as required - it's simple, meets every requirement, and simulates an open-collector pin perfectly.