Can you use txd and rxd as digital input/outputs

just wondering if you can use pins, 2,3 (txd, and rxd) as input/outputs or are they simply used for transmitting/recieving data? im sure thay are just want to be sure, they are marked up as IO1 and Io2 on the circuit diagram.

thank you

They can operate as GPIO pins as well as serial I/O, just not at the same time :)

yes, but you prob mean pin 0 and 1 ?

but you cannot use them when you also use them as serial.

you can also use 1 pin e.g. serial out for serial (e.g. msg to PC) and the other as a digital IO .

ok thanks for the info just wanted to be sure.

Be aware that there is a pull-up from the USB driver chip, through the 1K resistors connecting pins 0 and 1 to it. If you try to use them as inputs (particularly Rx I think) there will be a voltage on it/them.