Proyecto Nivel, Edgar Ochoa, Erik Garcia

Dependencies:   MMA8451Q mbed

Revision:
27:85d44b207258
Parent:
23:c5ef5e0f3809
Child:
28:a34c81f0b387
diff -r e10b8fb4e2ae -r 85d44b207258 Ochoa.h
--- a/Ochoa.h	Fri Feb 12 14:43:46 2016 +0000
+++ b/Ochoa.h	Fri Feb 12 14:46:54 2016 +0000
@@ -4,15 +4,18 @@
   void Mensajes(){
            if(150<data[1] && data[1]440>){
                pc.printf("Nivel estable");}
+               wait(.4);
           if(0=<data[1] && data[1]>=-16000){
                pc.prinft("Nivel a la derecha");}
+               wait(.4);
         if(0=<data[1] && data[1]>=16000){
         pc.prinft("Nivel a la izquierda");}             
             if(-36=<data[0] && data[0]>=16000){
                 pc.prinft("Nivel hacia adelante");}
+                wait(.4);
         if(0=<data[0] && data[0]>=-16000){
         pc.prinft("Nivel hacia atras");}
-
+            wait(.4);
 //150-432
 }
 #endif
\ No newline at end of file