Lalala2222

Dependencies:   mbed

Fork of 08-timer_alarm_state by Alexander Leber

Files at this revision

API Documentation at this revision

Comitter:
DoTTi
Date:
Mon Feb 05 18:41:12 2018 +0000
Parent:
1:eddde0361c0a
Commit message:
Lalala2

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r eddde0361c0a -r 48c29b52144d main.cpp
--- a/main.cpp	Mon Feb 05 18:22:34 2018 +0000
+++ b/main.cpp	Mon Feb 05 18:41:12 2018 +0000
@@ -117,6 +117,10 @@
                     alarm = false;
                 }
             }
+            // Disable alarm
+            if(sw3.CheckFlag() && sw1.CheckFlag()) {
+                pc.printf("1 Clock running\n");
+            }
             pc.printf("2 %02d:%02d\n",hh,mm);
         }
     }