Proyecto Nivel, Edgar Ochoa, Erik Garcia

Dependencies:   MMA8451Q mbed

Revision:
24:0de2f491c212
Parent:
22:de1ab79df237
Child:
30:1673abc35fd7
Child:
31:c826879795d4
Child:
32:4ff13543bbe4
diff -r c5ef5e0f3809 -r 0de2f491c212 versionerik.h
--- a/versionerik.h	Fri Feb 12 14:19:58 2016 +0000
+++ b/versionerik.h	Fri Feb 12 14:39:15 2016 +0000
@@ -16,7 +16,7 @@
         
         
     
-    if(data[2]>16020 && data[2]<16400 && data[0]>-150 && data[0]<2 && dato[1]>150 && dato[1]<350){
+    if(data[2]>16020 && data[2]<16400 && data[0]>-150 && data[0]<2 && data[1]>150 && data[1]<350){
         b=0;
         g=1;
         r=1;