Use a second uart or swap uart
Posted: Sat Oct 29, 2016 7:47 am
Hi,
I have a nodeMCU and I need a second uart (one at 115200 for the communication with the PC and the second for the communication with a GPS at 9600 baud). I don't know if I can connect the PC (with CP2102) and the GPS on the same bus (If I change the baudrate).
I can't find how to swap the uart 0 pins in micropython and If I can change the baudrate when I swap (and quickly) or If I can use a software uart (bit bang?) like in Lua or arduino.
Thanks
Guillaume
I have a nodeMCU and I need a second uart (one at 115200 for the communication with the PC and the second for the communication with a GPS at 9600 baud). I don't know if I can connect the PC (with CP2102) and the GPS on the same bus (If I change the baudrate).
I can't find how to swap the uart 0 pins in micropython and If I can change the baudrate when I swap (and quickly) or If I can use a software uart (bit bang?) like in Lua or arduino.
Thanks
Guillaume