From c53509b7b48b6fc010c4c2c3e3dd506aaf6989d2 Mon Sep 17 00:00:00 2001 From: Alasdair Allan Date: Thu, 25 Feb 2021 10:50:09 +0000 Subject: [PATCH] Moved to loopback directory --- uart/{ => loopback}/README.adoc | 20 ++++++++++---------- uart/{ => loopback}/pico_uart_example.png | Bin uart/{ => loopback}/uart.py | 0 3 files changed, 10 insertions(+), 10 deletions(-) rename uart/{ => loopback}/README.adoc (90%) rename uart/{ => loopback}/pico_uart_example.png (100%) rename uart/{ => loopback}/uart.py (100%) diff --git a/uart/README.adoc b/uart/loopback/README.adoc similarity index 90% rename from uart/README.adoc rename to uart/loopback/README.adoc index 0f328d3..e3d14ae 100644 --- a/uart/README.adoc +++ b/uart/loopback/README.adoc @@ -12,22 +12,22 @@ See <> for wiring instructions. .Wiring two of the Pico's ports together. Be sure to wire UART0n TX to UART1 RX and UART0 RX to UART1 TX. image::pico_uart_example.png[] -== Other things to try - -[source,python] ----- -uart0 = UART(0) // <1> -uart0.readline() // <2> ----- -<1> opens a UART connection at the default baudrate of 115,200 -<2> reads until the CR (\r) and NL (\n) characters then returns the line - == List of Files A list of files with descriptions of their function; uart.py:: The example code. +== Other things to try + +[source,python] +---- +uart0 = UART(0) # <1> +uart0.readline() # <2> +---- +<1> opens a UART connection at the default baudrate of 115,200 +<2> reads until the CR (\r) and NL (\n) characters then returns the line + == Bill of Materials .A list of materials required for the example diff --git a/uart/pico_uart_example.png b/uart/loopback/pico_uart_example.png similarity index 100% rename from uart/pico_uart_example.png rename to uart/loopback/pico_uart_example.png diff --git a/uart/uart.py b/uart/loopback/uart.py similarity index 100% rename from uart/uart.py rename to uart/loopback/uart.py