TX on uno board

Can the Tx (pin 1) on a uno board be used as a digitalwrite output pin? Thanks

truck56: Can the Tx (pin 1) on a uno board be used as a digitalwrite output pin? Thanks

Yes it can be, if you are not using serial comm in your sketch.

I think you can do this too:

// in void loop ...

Serial.end();
pinMode (D1, OUTPUT);
// whatever you're doing
:
:
// then turn serial back on
Serial.begin(9600);
:

If you are using Serial, the receiver may be a little confused about what be coming out. Maybe send a coordination message indicating "stop lstening for 500ms while I send junky serial data out!"

Thanks