aboutsummaryrefslogtreecommitdiff
path: root/examples/boot/nrf/src/bin/b.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/boot/nrf/src/bin/b.rs')
-rw-r--r--examples/boot/nrf/src/bin/b.rs23
1 files changed, 0 insertions, 23 deletions
diff --git a/examples/boot/nrf/src/bin/b.rs b/examples/boot/nrf/src/bin/b.rs
deleted file mode 100644
index a06c20f8b..000000000
--- a/examples/boot/nrf/src/bin/b.rs
+++ /dev/null
@@ -1,23 +0,0 @@
1#![no_std]
2#![no_main]
3#![macro_use]
4#![feature(generic_associated_types)]
5#![feature(type_alias_impl_trait)]
6
7use embassy::time::{Duration, Timer};
8use embassy_nrf::gpio::{Level, Output, OutputDrive};
9use embassy_nrf::Peripherals;
10use panic_reset as _;
11
12#[embassy::main]
13async fn main(_s: embassy::executor::Spawner, p: Peripherals) {
14 let mut led = Output::new(p.P0_13, Level::Low, OutputDrive::Standard);
15 //let mut led = Output::new(p.P1_10, Level::Low, OutputDrive::Standard);
16
17 loop {
18 led.set_high();
19 Timer::after(Duration::from_millis(300)).await;
20 led.set_low();
21 Timer::after(Duration::from_millis(300)).await;
22 }
23}