the hub
Dependencies: mbed MFRC522 UniGraphic
Revision 12:4a6bca3dec03, committed 2018-12-18
- Comitter:
- khimAS
- Date:
- Tue Dec 18 22:33:59 2018 +0000
- Parent:
- 11:d85e35354c48
- Commit message:
- fjkdsljf;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d85e35354c48 -r 4a6bca3dec03 main.cpp --- a/main.cpp Tue Dec 18 22:04:56 2018 +0000 +++ b/main.cpp Tue Dec 18 22:33:59 2018 +0000 @@ -87,11 +87,9 @@ else if (Pagejawjiw == 1) { if(i == 0 or Sw[2] == 0){ i++; - switch(i){ case 1: - select = 1; - pc.printf("A \n"); + //pc.printf("A \n"); myLCD.fillrect(0,0,500,50,Orange); myLCD.rect(155,70,320,120,Orange); myLCD.rect(155,130,320,180,Orange); @@ -123,7 +121,6 @@ break; case 2: //myLCD.cls(); - select = 2; pc.printf("B \n"); myLCD.fillrect(0,0,500,50,Orange); myLCD.rect(155,70,320,120,Orange); @@ -155,7 +152,6 @@ wait(0.3); break; case 3: - select = 3; pc.printf("C \n"); myLCD.fillrect(0,0,500,50,Orange); myLCD.rect(155,70,320,120,Orange); @@ -187,7 +183,6 @@ wait(0.3); break; case 4: - select = 4; pc.printf("D \n"); myLCD.fillrect(0,0,500,50,Orange); myLCD.rect(155,70,320,120,Orange); @@ -353,6 +348,8 @@ } } else if(Sw[4] == 0){ + pc.printf("select"); + select = i; pc.printf("%d",select); if(select == 1){ queueA += 1;