Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -13,8 +13,8 @@ int state = 2; | ... | @@ -13,8 +13,8 @@ int state = 2; |
13 | 13 | ||
14 | int KeypadRead(){ | 14 | int KeypadRead(){ |
15 | int i, keypadnum = -1; | 15 | int i, keypadnum = -1; |
16 | - if (!digitalRead(Keypad[0])) { | 16 | + if (!digitalRead(Keypad[0])) |
17 | - } | 17 | + keypadnum = 0; |
18 | return keypadnum; | 18 | return keypadnum; |
19 | } | 19 | } |
20 | void FndSelect(int position){ | 20 | void FndSelect(int position){ | ... | ... |
-
Please register or login to post a comment