Outside of connecting device (like GPS) to the UART, you can also use an UART to get the REPL over it (exactly like USB connexion but over an UART. This may be kindly useful to bring a REPL connectivity over mobile network/device.
+
The following snip of code duplicates the REPL over the {{fname|UART(0)}} .
The following snip of code duplicates the REPL over the {{fname|UART(0)}} .