diff options
| author | Henrik Berg <[email protected]> | 2023-07-13 11:16:11 +0200 |
|---|---|---|
| committer | Henrik Berg <[email protected]> | 2023-07-13 11:16:11 +0200 |
| commit | 588c0479f5dacd21e8654463eb3ca3d847d5dcd9 (patch) | |
| tree | 2e0f60933734e66f65cd82715878d06054107037 /examples/rp/src/bin/uart.rs | |
| parent | d979841f17721c344142d36bc56f79bea50a158f (diff) | |
Add descriptions to all RP2040 examples. Some need hardware that was not specified.
Diffstat (limited to 'examples/rp/src/bin/uart.rs')
| -rw-r--r-- | examples/rp/src/bin/uart.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/rp/src/bin/uart.rs b/examples/rp/src/bin/uart.rs index 05177a6b4..451c3c396 100644 --- a/examples/rp/src/bin/uart.rs +++ b/examples/rp/src/bin/uart.rs | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | //! This example shows how to use UART (Universal asynchronous receiver-transmitter) in the RP2040 chip. | ||
| 2 | //! | ||
| 3 | //! No specific hardware is specified in this example. Only output on pin 0 is tested. | ||
| 4 | //! The Raspberry Pi Debug Probe (https://www.raspberrypi.com/products/debug-probe/) could be used | ||
| 5 | //! with its UART port. | ||
| 6 | |||
| 1 | #![no_std] | 7 | #![no_std] |
| 2 | #![no_main] | 8 | #![no_main] |
| 3 | #![feature(type_alias_impl_trait)] | 9 | #![feature(type_alias_impl_trait)] |
