aboutsummaryrefslogtreecommitdiff
path: root/crates/rp-pico-2040/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rp-pico-2040/src/main.rs')
-rw-r--r--crates/rp-pico-2040/src/main.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/crates/rp-pico-2040/src/main.rs b/crates/rp-pico-2040/src/main.rs
new file mode 100644
index 0000000..b155870
--- /dev/null
+++ b/crates/rp-pico-2040/src/main.rs
@@ -0,0 +1,11 @@
+use rust_threadx_rp_pico_2040 as _;
+
+use std::{thread, time::Duration};
+
+fn main() {
+ // Nothing interesting yet. Nevertheless, the LED should
+ // be blinking on a background thread.
+ loop {
+ thread::sleep(Duration::from_millis(100));
+ }
+}