proyectotecnicas
/
presionRyN
parte de presión
Fork of presionRyN by
Revision 2:070d29e86c89, committed 2015-12-14
- Comitter:
- nahuel473cba
- Date:
- Mon Dec 14 23:46:40 2015 +0000
- Parent:
- 1:ebeb3d48c375
- Commit message:
- presion valores bien
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
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);