Edgar Ochoa
/
ProyectoNivel
Proyecto Nivel, Edgar Ochoa, Erik Garcia
Ochoa.h@23:c5ef5e0f3809, 2016-02-12 (annotated)
- Committer:
- verden32
- Date:
- Fri Feb 12 14:19:58 2016 +0000
- Revision:
- 23:c5ef5e0f3809
- Parent:
- 15:9bd3eb94c3d8
- Child:
- 25:2d2f8736f147
- Child:
- 27:85d44b207258
Corregido espero no se borre
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
verden32 | 15:9bd3eb94c3d8 | 1 | #ifndef OCHOA |
verden32 | 15:9bd3eb94c3d8 | 2 | #define OCHOA |
verden32 | 23:c5ef5e0f3809 | 3 | #include "mbed.h" |
verden32 | 23:c5ef5e0f3809 | 4 | void Mensajes(){ |
verden32 | 23:c5ef5e0f3809 | 5 | if(150<data[1] && data[1]440>){ |
verden32 | 23:c5ef5e0f3809 | 6 | pc.printf("Nivel estable");} |
verden32 | 23:c5ef5e0f3809 | 7 | if(0=<data[1] && data[1]>=-16000){ |
verden32 | 23:c5ef5e0f3809 | 8 | pc.prinft("Nivel a la derecha");} |
verden32 | 23:c5ef5e0f3809 | 9 | if(0=<data[1] && data[1]>=16000){ |
verden32 | 23:c5ef5e0f3809 | 10 | pc.prinft("Nivel a la izquierda");} |
verden32 | 23:c5ef5e0f3809 | 11 | if(-36=<data[0] && data[0]>=16000){ |
verden32 | 23:c5ef5e0f3809 | 12 | pc.prinft("Nivel hacia adelante");} |
verden32 | 23:c5ef5e0f3809 | 13 | if(0=<data[0] && data[0]>=-16000){ |
verden32 | 23:c5ef5e0f3809 | 14 | pc.prinft("Nivel hacia atras");} |
verden32 | 14:867038a3f806 | 15 | |
verden32 | 23:c5ef5e0f3809 | 16 | //150-432 |
verden32 | 23:c5ef5e0f3809 | 17 | } |
verden32 | 14:867038a3f806 | 18 | #endif |