Words in Typing mode
Dependencies: SDFileSystem emic2 mbed-rtos mbed
Fork of BAT_Type_word by
Diff: buttonArray.cpp
- Revision:
- 37:d873136dfb12
- Parent:
- 36:593bae6b342b
- Child:
- 39:8cc80f0b4398
--- a/buttonArray.cpp Thu Nov 30 22:07:00 2017 +0000 +++ b/buttonArray.cpp Fri Dec 01 03:36:28 2017 +0000 @@ -99,7 +99,7 @@ //pc.printf("wrong pins"); int j = 1; for (int i = 0; i < 6; i++) { - if(inarr[i] == actarr[i]) { + if(inarr[i] != actarr[i]) { wrong[j] = i+1; //pc.printf("%d ", wrong[j]); j++;