![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Fixed wait time
Dependencies: SDFileSystem emic2 mbed-rtos mbed
Fork of BAT_senior_design_Nhi by
Diff: buttonArray.cpp
- Revision:
- 36:593bae6b342b
- Parent:
- 34:1248dfa0740b
- Child:
- 37:d873136dfb12
--- a/buttonArray.cpp Wed Nov 29 15:14:26 2017 +0000 +++ b/buttonArray.cpp Thu Nov 30 22:07:00 2017 +0000 @@ -33,8 +33,8 @@ if (strcmp(braille, "001101") == 0) val = 'H'; if (strcmp(braille, "101101") == 0) val = 'I'; if (strcmp(braille, "101001") == 0) val = 'J'; - if (strcmp(braille, "101100") == 0) val = 'M'; - if (strcmp(braille, "101010") == 0) val = 'O'; + if (strcmp(braille, "010011") == 0) val = 'M'; + if (strcmp(braille, "010101") == 0) val = 'O'; /*if (strcmp(braille, "011111") == 0) val = 'K'; if (strcmp(braille, "011111") == 0) val = 'L'; if (strcmp(braille, "011111") == 0) val = 'N'; @@ -95,8 +95,6 @@ // TODO check initial value of wrong int* wrong; wrong = new int[7]; - //char* inarr = getBraille(input); - //pc.printf("input %s\n", inarr); char* actarr = getBraille(actual); //pc.printf("wrong pins"); int j = 1;