Trying to debug
Dependencies: mbed TextLCD keypad
Diff: keypadandlc.cpp
- Revision:
- 6:d2f4c1f6877c
- Parent:
- 5:7aff70602b66
- Child:
- 7:022c8579e8c7
--- a/keypadandlc.cpp Thu Jan 31 00:40:37 2019 +0000 +++ b/keypadandlc.cpp Thu Jan 31 00:48:02 2019 +0000 @@ -63,7 +63,7 @@ keyTracker=0; //put blanks back in array for(int i=0;i<16;i++){ - LCDdisplay[i]='\b'; + LCDdisplay[i]=' '; } break; //if comma is pressed @@ -103,7 +103,12 @@ keypad.attach(&LCDUpdate); keypad.start(); while (1) { - //do something eventually + lcd.cls(); + lcd.printf("Please Enter wires:"); + lcd.locate(0,1); + for(int j=0;j<16;j++){ + lcd.putc(LCDdisplay[j]); + } } } \ No newline at end of file