final

Dependencies:   TextLCD mbed

Fork of general by proyectotecnicas

Revision:
7:e27232481540
Parent:
6:eb50c82e7d93
Child:
8:5cfa4b38ddf1
--- a/main.cpp	Mon Dec 07 19:30:59 2015 +0000
+++ b/main.cpp	Mon Dec 07 21:34:24 2015 +0000
@@ -227,6 +227,8 @@
                     sdig = num;
                     pc.printf("%.1d\n\r", sdig);
                     tempmanual = (pdig * 10) + sdig;
+                    if(tempmanual >= 65){
+                        tempmanual = 65;}
                     pc.printf("%.1d\n\r", tempmanual);
                     imprimehora();
                     lcd.locate(0,0);