on my board are:
they all are connected between each other by USART.
ATMega328 is "master" and should somehow control USART.
1. ATMega328 wants some data form PC :
in order to do this must somehow disable USART lines to wireless module(since they are USART bonded)
2. ATMega328 sends data to PC over Serial-to-Ethernet module and receives data
3. ATMega328 disables USART lines to Serial-to-Ethernet module and sends data to wireless module
and so on...(you understand me)
Any idea how to do this ?
Thank you for answers !