aboutsummaryrefslogtreecommitdiff
path: root/examples/rp/src/bin/button.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/button.rs
parentd979841f17721c344142d36bc56f79bea50a158f (diff)
Add descriptions to all RP2040 examples. Some need hardware that was not specified.
Diffstat (limited to 'examples/rp/src/bin/button.rs')
-rw-r--r--examples/rp/src/bin/button.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/rp/src/bin/button.rs b/examples/rp/src/bin/button.rs
index 0d246c093..d7aa89410 100644
--- a/examples/rp/src/bin/button.rs
+++ b/examples/rp/src/bin/button.rs
@@ -1,3 +1,7 @@
1//! This example uses the RP Pico on board LED to test input pin 28. This is not the button on the board.
2//!
3//! It does not work with the RP Pico W board. Use wifi_blinky.rs and add input pin.
4
1#![no_std] 5#![no_std]
2#![no_main] 6#![no_main]
3#![feature(type_alias_impl_trait)] 7#![feature(type_alias_impl_trait)]