lignin
Junior Member level 2
hello forum. I have one question about serial port.
I am using arduino uno. I want to connect xbee to my arduino and then ı want to connect arduino to the computer. so here is my problem. Can ı connect both computer and xbee simultaneously ? I want to use tx/rx pins for xbee serial communication and ı want to use usb for computer serial communication.
in other words , if ı write serial.write() in the code, this data is send both computer and xbee, or send just computer , or just xbee ?
sorry for my english.
thank you so much.
I am using arduino uno. I want to connect xbee to my arduino and then ı want to connect arduino to the computer. so here is my problem. Can ı connect both computer and xbee simultaneously ? I want to use tx/rx pins for xbee serial communication and ı want to use usb for computer serial communication.
in other words , if ı write serial.write() in the code, this data is send both computer and xbee, or send just computer , or just xbee ?
sorry for my english.
thank you so much.