Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Keypad TextLCD-modificada mbed
Revision 3:6d93b935b945, committed 2016-05-16
- Comitter:
- Susanaranjo
- Date:
- Mon May 16 16:01:57 2016 +0000
- Parent:
- 2:316c3e9ad8d8
- Commit message:
- LCD
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun May 08 17:59:09 2016 +0000
+++ b/main.cpp Mon May 16 16:01:57 2016 +0000
@@ -142,7 +142,7 @@
lcd.cls();
lcd.printf("Pulse * para\n");
lcd.printf("empezar de nuevo");
- wait_ms(3000);
+ wait_ms(2000);
lcd.cls();
lcd.locate(0,0);
lcd.printf("Kp=%4Lu",kp);
@@ -211,6 +211,10 @@
lcd.printf("_ ");}
lcd.locate(3+i,0);
lcd.printf("%u",tecla);
+ if (i<3){
+ lcd.locate(4+i,0);
+ lcd.printf("_");
+ }
kp=entero; }
//Ki
@@ -220,6 +224,10 @@
lcd.printf("_ ");}
lcd.locate(11+i,0);
lcd.printf("%u",tecla);
+ if (i<3){
+ lcd.locate(12+i,0);
+ lcd.printf("_");
+ }
ki=entero;}
//Kd
@@ -229,6 +237,10 @@
lcd.printf("_ "); }
lcd.locate(3+i,1);
lcd.printf("%u",tecla);
+ if (i<3){
+ lcd.locate(4+i,1);
+ lcd.printf("_");
+ }
kd=entero;}
//Sp
@@ -238,6 +250,10 @@
lcd.printf("_ "); }
lcd.locate(11+i,1);
lcd.printf("%u",tecla);
+ if (i<3){
+ lcd.locate(12+i,1);
+ lcd.printf("_");
+ }
sp=entero; }