at the moment both are connected by the USB cable
What does this mean? You can only connect one USB cable to the Arduino at a time. You can not read from that cable connected to one device and write to another device using the same cable.
at the moment both are connected by the USB cable
What does this mean? You can only connect one USB cable to the Arduino at a time. You can not read from that cable connected to one device and write to another device using the same cable.