
adding member
Dependencies: TextLCD
Revision 3:be0b871f3ff9, committed 2020-03-20
- Comitter:
- raynard
- Date:
- Fri Mar 20 11:07:29 2020 +0000
- Parent:
- 2:397be4b2e023
- Commit message:
- adding TextLCD.h
Changed in this revision
TextLCD.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TextLCD.lib Fri Mar 20 11:07:29 2020 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/simon/code/TextLCD/#308d188a2d3a
--- a/main.cpp Wed Mar 18 14:58:47 2020 +0000 +++ b/main.cpp Fri Mar 20 11:07:29 2020 +0000 @@ -11,7 +11,7 @@ #include "vector" #include "TextLCD.h" -//TextLCD lcd(p15, p16, p17, p18, p19, p20); // rs, e, d4-d7 +TextLCD lcd(PA_9, PB_10, PB_4, PB_5, PB_3, PA_10); // rs, rw, e, d0, d1, d2, d3 using namespace std; @@ -107,7 +107,7 @@ } else { // std::cout << "password incorrect\n" << "Try Again" << std::endl; - lcd.printf("incorrect Try Again""); + lcd.printf("incorrect Try Again"); wait(1); lcd.cls(); password.clear();