aboutsummaryrefslogtreecommitdiff
path: root/examples/rp/src/bin/spi_display.rs
diff options
context:
space:
mode:
authorHenrik Berg <[email protected]>2023-07-13 11:16:11 +0200
committerHenrik Berg <[email protected]>2023-07-13 11:16:11 +0200
commit588c0479f5dacd21e8654463eb3ca3d847d5dcd9 (patch)
tree2e0f60933734e66f65cd82715878d06054107037 /examples/rp/src/bin/spi_display.rs
parentd979841f17721c344142d36bc56f79bea50a158f (diff)
Add descriptions to all RP2040 examples. Some need hardware that was not specified.
Diffstat (limited to 'examples/rp/src/bin/spi_display.rs')
-rw-r--r--examples/rp/src/bin/spi_display.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/rp/src/bin/spi_display.rs b/examples/rp/src/bin/spi_display.rs
index 2fd201595..26c258e1c 100644
--- a/examples/rp/src/bin/spi_display.rs
+++ b/examples/rp/src/bin/spi_display.rs
@@ -1,3 +1,8 @@
1//! This example shows how to use SPI (Serial Peripheral Interface) in the RP2040 chip.
2//!
3//! Example written for a display using the ST7789 chip. Possibly the Waveshare Pico-ResTouch
4//! (https://www.waveshare.com/wiki/Pico-ResTouch-LCD-2.8)
5
1#![no_std] 6#![no_std]
2#![no_main] 7#![no_main]
3#![feature(type_alias_impl_trait)] 8#![feature(type_alias_impl_trait)]