Working read code with mode button
Dependencies: SDFileSystem emic2 mbed-rtos mbed
Fork of BAT_senior_design_Testnew by
Diff: buttonArray.cpp
- Revision:
- 30:3c4ebc4fde0f
- Parent:
- 29:b2e53ce54b3e
- Child:
- 32:79cdf893c8b8
diff -r b2e53ce54b3e -r 3c4ebc4fde0f buttonArray.cpp --- a/buttonArray.cpp Fri Nov 10 16:22:04 2017 +0000 +++ b/buttonArray.cpp Wed Nov 15 16:27:26 2017 +0000 @@ -69,8 +69,8 @@ int j = 1; for (int i = 0; i < 6; i++) { if (braille[i] == '0') { + pinsup[j] = i+1; j++; - pinsup[j] = i+1; } } // record size of array in the first element