aaaa
Dependencies: SeeedStudioTFTv2 TFT_fonts mbed
Fork of Seeed_TFT_Touch_Shield by
Revision 8:b579a63f8b07, committed 2014-10-25
- Comitter:
- bhavk11
- Date:
- Sat Oct 25 21:46:04 2014 +0000
- Parent:
- 6:2a920ec91d2b
- Commit message:
- abc
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Oct 25 20:42:30 2014 +0000 +++ b/main.cpp Sat Oct 25 21:46:04 2014 +0000 @@ -380,7 +380,7 @@ TFT.printf("TEXT"); TFT.circle(180,240,50,Maroon); - while(!(strcmp(cmd, "Call") == 0)) + while((strcmp(cmd, "Back") == 0) || cmd == NULL) { if (TFT.getTouch(p) == TFT.YES) { @@ -390,20 +390,14 @@ { //call cmd = "Call"; - break; } else if(p.y >= 4500 && p.y <= 7100) { //text cmd = "Text"; - break; } - else - {} - } - }else if(cmd == "RING"){ - } + } } if(strcmp(cmd, "Call") == 0)