parte de presión

Dependencies:   TextLCD mbed

Revision:
2:070d29e86c89
Parent:
1:ebeb3d48c375
diff -r ebeb3d48c375 -r 070d29e86c89 main.cpp
--- a/main.cpp	Mon Dec 14 23:45:37 2015 +0000
+++ b/main.cpp	Mon Dec 14 23:46:40 2015 +0000
@@ -22,18 +22,18 @@
             case 0:
                 lcd.locate(0,0);
                 lcd.printf("Banio Rapido");
-                if (caspresion < 2.34 && BA == 0 ) {
+                if (caspresion < 2.78 && BA == 0 ) {
                     ev = 1;
                     lcd.locate(0,1);
                     lcd.printf("pres=%.2f EV= %d",caspresion,ev);
                 }
-                if ( caspresion >= 2.34 && BA == 0) {
+                if ( caspresion >= 2.30 && BA == 0) {
                     BA=1;
                     ev = 0;
                    lcd.locate(0,1);
                     lcd.printf("pres=%.2f EV= %d",caspresion,ev);
                 }
-                if(caspresion <= 0.9 && BA==1 ) 
+                if(caspresion <= 1.5 && BA==1 ) 
                     {
                         BA = 0;
                         lcd.locate(0,1);