el prollecto trata del detector de las vibraciones de un motor alejandro mejia garcia jorge arturo juarez ornelas

Dependencies:   MMA8451Q mbed

Revision:
12:985489f212d0
Parent:
8:91b272fd75d8
Child:
13:0d56aff123d4
--- a/main.cpp	Wed Feb 10 20:07:42 2016 +0000
+++ b/main.cpp	Fri Feb 12 13:15:34 2016 +0000
@@ -8,8 +8,7 @@
  PwmOut bled(LED_BLUE);
  int16_t dato[3];
  int16_t x = 0;
- int16_t y = 0;                          //hola YAAAAAAAAAAAAAAUUUUUUUUUUUUUUUUUUUUUUU
- //kjdsjnsdfjnkf
+ int16_t y = 0;                          
  
  int16_t z = 0;
 
@@ -43,16 +42,14 @@
      if(dato[1]>=900){
          bled=1;
          rled=0;
-         //alar=1;
-          //pc.printf("* TEMBLOR");
+        
            wait(.5);
            
            rled=1;
          }else{
            bled=1;
            gled=0;
-           // alar=0;
-             //pc.printf("* SEGURO");
+          
               wait(.5);
               gled=1;
              }