That's right; but you should make sure it is okay with the device connected to the otherFolknology wrote:Yes but you can switch between Input and output, albeit all bits at once
if you drive a pin that it can drive as well; and the other way around, make sure it is
okay to float a pin that the other side uses for input.
For IIC, you need to do both input and output anyway: output when you are sendingmaking some protocols possible, like perhaps slave I2C?
a 0, and input when you are sending a 1 (or receiving).