Chat here about code rewrites, mods, etc... with respect to the github project https://github.com/esp8266/Arduino

Moderator: igrr

User avatar
By glyndon
#61219 Calling Serial.swap() doesn't switch your code's attention between two separate ports, it switches the I/O lines of the primary port's UART (and, importantly, its buffers) between one set of external pins and another set of external pins. Activity on the pins to which it is not currently directed, will be unseen.