try1 with keypad

Dependencies:   keypad mbed

Files at this revision

API Documentation at this revision

Comitter:
nostradamus2x
Date:
Tue Nov 07 02:02:18 2017 +0000
Parent:
3:74062f7daedd
Child:
5:90075e5fa9fd
Commit message:
Cleared 'else' case ambiguities in first looping condition.

Changed in this revision

keyo.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/keyo.cpp	Tue Nov 07 01:52:20 2017 +0000
+++ b/keyo.cpp	Tue Nov 07 02:02:18 2017 +0000
@@ -23,7 +23,8 @@
        { check = 1;
          modc=modc/10;
        } 
-     else check =0;
+      else check =0;
+     else check =0; 
      
      if(modc==0)
       if(check == 1) led2=!led2;