Proyecto Nivel, Edgar Ochoa, Erik Garcia

Dependencies:   MMA8451Q mbed

Ochoa.h

Committer:
verden32
Date:
2016-02-12
Revision:
21:88761ef02671
Parent:
20:19b719b6dcdc

File content as of revision 21:88761ef02671:

#ifndef OCHOA
#define OCHOA

#include "mbed.h"
void_Mensajes(){
        if(150<data[1] && data[1]440>){
            pc.printf("Nivel estable");}
        if(0=<data[1] && data[1]>=-16000){
            pc.prinft("Nivel a la derecha");}
        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");}
            if(0=<data[0] && data[0]>=-16000){
            pc.prinft("Nivel hacia atras");}
        if(data[b]
        //150-432
        }
#endif