Hello.
I want a code that connects pin X to pin Y for Z seconds. Is that possible?
Best regards
Konrad
What are you trying to do?
konraditurbe:
Hello.
I want a code that connects pin X to pin Y for Z seconds. Is that possible?
Yes.
But how you actually do it will depend on what X and Y are.
digitalWrite (pinX, (PIND & 0b00000100)); // write pinX with the value at PORTD, bit 2 for example
delay (Zseconds);
digitalWrite (pinX, whatever); // write pinX with something else