From beef38663554a87deb997e577bfd7d4086bc7c73 Mon Sep 17 00:00:00 2001
From: Per <Per Lindgren>
Date: Mon, 22 Apr 2019 15:18:41 +0200
Subject: [PATCH] app

---
 examples/app.rs | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/examples/app.rs b/examples/app.rs
index 2d3364a..2216d2b 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();
         }
 
-- 
GitLab