diff --git a/examples/app.rs b/examples/app.rs index 2d3364abcbaa1509e48364032ec788c2dc56a243..2216d2b622a10c8ec5355369c04e741698561329 100644 --- a/examples/app.rs +++ b/examples/app.rs @@ -30,10 +30,16 @@ const APP: () = { let p: pac::Peripherals = device; let port0 = p.P0.split(); - let mut led: P0_14<gpio::Output<PushPull>> = port0.p0_14.into_push_pull_output(Level::High); + let mut led: P0_14<gpio::Output<PushPull>> = + port0.p0_14.into_push_pull_output(Level::High); + hprintln!("init").unwrap(); loop { + hprintln!("set_low").unwrap(); + led.set_low(); + hprintln!("set_high").unwrap(); + led.set_high(); }