proyectotecnicas
/
general
menu-teclado-lcd-pwm(funca todo) (y el puerto serie tambien)
Diff: main.cpp
- Revision:
- 6:eb50c82e7d93
- Parent:
- 5:c047b49f74e7
- Child:
- 7:e27232481540
--- a/main.cpp Mon Dec 07 19:27:17 2015 +0000 +++ b/main.cpp Mon Dec 07 19:30:59 2015 +0000 @@ -411,7 +411,7 @@ t.start(); pc.baud(115200); Enable.rise(&func); - + while(1) { //reloj seg = t.read(); @@ -439,15 +439,15 @@ tinterno = (casinterno + 2) * 100 / 8; //sensor de presion caspresion = presionin.read() * 3.3; - if(caspresion >= 2.34){ - - } - if(caspresion >= 1.68 && caspresion <= 1.85){ - - } - if(caspresion <= 1.03){ - - } + if(caspresion >= 2.34) { + + } + if(caspresion >= 1.68 && caspresion <= 1.85) { + + } + if(caspresion <= 1.03) { + + } lcd.locate(0,1); lcd.printf("%.0fC %.0fC %c ", texterno, tinterno, modo);