Proyecto Nivel, Edgar Ochoa, Erik Garcia

Dependencies:   MMA8451Q mbed

Committer:
verden32
Date:
Fri Feb 12 14:01:53 2016 +0000
Revision:
21:88761ef02671
Parent:
20:19b719b6dcdc
mensajes de pantalla

Who changed what in which revision?

UserRevisionLine numberNew contents of line
verden32 15:9bd3eb94c3d8 1 #ifndef OCHOA
verden32 15:9bd3eb94c3d8 2 #define OCHOA
verden32 14:867038a3f806 3
verden32 14:867038a3f806 4 #include "mbed.h"
verden32 21:88761ef02671 5 void_Mensajes(){
verden32 21:88761ef02671 6 if(150<data[1] && data[1]440>){
verden32 21:88761ef02671 7 pc.printf("Nivel estable");}
verden32 21:88761ef02671 8 if(0=<data[1] && data[1]>=-16000){
verden32 21:88761ef02671 9 pc.prinft("Nivel a la derecha");}
verden32 21:88761ef02671 10 if(0=<data[1] && data[1]>=16000){
verden32 21:88761ef02671 11 pc.prinft("Nivel a la izquierda");}
verden32 21:88761ef02671 12
verden32 21:88761ef02671 13 if(-36=<data[0] && data[0]>=16000){
verden32 21:88761ef02671 14 pc.prinft("Nivel hacia adelante");}
verden32 21:88761ef02671 15 if(0=<data[0] && data[0]>=-16000){
verden32 21:88761ef02671 16 pc.prinft("Nivel hacia atras");}
verden32 21:88761ef02671 17 if(data[b]
verden32 21:88761ef02671 18 //150-432
verden32 21:88761ef02671 19 }
verden32 14:867038a3f806 20 #endif