neither send 0 nor 1 as digital

fungus:

pbrouwer:
Hmm, in digital devices something is either 0 (low/false) or 1 (high/true). It cannot be both, and it cannot be neither. However, if you don't want to output anything at all on a pin, set the pin as an input.

Set the pin as an input AND turn off the pullup resistor by setting the output to 0.

Yep, unless you want the pin to default to 5V that is.