Hi,
I am using an ATMega328 which has one TX and RX pin. My application requires me to use two different devices: HC07 Bluetooth Module and Adafruit Ultimate GPS Module, both of which send/receive data using the UART pins.
I do not need to use both devices simultaneously so can I connect both of them to the same TX and RX pins on the ATMega328 chip? Both the devices have enable pins and I was thinking of controlling them using these pins in software. Will this work or will it be better to use a multiplexers?
Thanks!