Group assignment alarm clock

Dependencies:   mbed TextLCD

Files at this revision

API Documentation at this revision

Comitter:
mmlhein
Date:
Fri May 24 07:37:44 2019 +0000
Parent:
12:6b899d5bb944
Commit message:
done

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 6b899d5bb944 -r 33ee593b3816 main.cpp
--- a/main.cpp	Fri May 24 07:36:45 2019 +0000
+++ b/main.cpp	Fri May 24 07:37:44 2019 +0000
@@ -557,7 +557,7 @@
                 break;
             }
         } else if (col ==9 && row ==1) {//back button is pressed
-            if(joycenter){// When setup_init() done, we move the cursor to default state,
+            if(joycenter) { // When setup_init() done, we move the cursor to default state,
                 blinker_numer.detach(); // Stop viewing number.
                 blinker_cursor.detach(); // Stop blinking the cursor.
                 row=0;
@@ -611,8 +611,8 @@
 {
     lcd.locate(0,0);
     lcd.printf("Press button to start");
-    while(1){
-        if(joycenter){
+    while(1) {
+        if(joycenter) {
             break;
         }
     }