try1 with keypad

Dependencies:   keypad mbed

Files at this revision

API Documentation at this revision

Comitter:
nostradamus2x
Date:
Tue Nov 07 07:43:05 2017 +0000
Parent:
4:4c7fb6a870bf
Commit message:
Added the password updation using mod function.

Changed in this revision

keyo.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 4c7fb6a870bf -r 90075e5fa9fd keyo.cpp
--- a/keyo.cpp	Tue Nov 07 02:02:18 2017 +0000
+++ b/keyo.cpp	Tue Nov 07 07:43:05 2017 +0000
@@ -30,6 +30,7 @@
       if(check == 1) led2=!led2;  
       else led3=!led3;
      else;  
+     pass=pass%10;
       return 0;
  }