Page 1 of 1
Second serial port (UART1)
Posted:
Mon Feb 15, 2016 4:54 am
by markus_b
In its data sheet I see that the ESP8266 has two serial ports UART0 and UART1. But all Arduino examples seem to use only one serial port, presumably UART0.
How can I use the second serial port (UART1) ?
Re: Second serial port (UART1)
Posted:
Sun Feb 21, 2016 12:22 pm
by markus_b
> How can I use the second serial port (UART1) ?
Reading through the source code of the I found the solution:
The second serial port (UART1) is supported as serial1. So there is serial (default port) and serial1 (2nd port). There seem to some limitation (no interrupts for the 2nd port), but otherwise works the same as the 1st.
Re: Second serial port (UART1)
Posted:
Sun Feb 21, 2016 1:23 pm
by schufti
AFAIK the second uart is Tx only ....