el prollecto trata del detector de las vibraciones de un motor alejandro mejia garcia jorge arturo juarez ornelas
mejia.h@17:ee9f00214cae, 2016-02-15 (annotated)
- Committer:
- Jamg
- Date:
- Mon Feb 15 07:21:57 2016 +0000
- Revision:
- 17:ee9f00214cae
- Parent:
- 15:29157e15b78e
revision
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jamg | 11:3a83dd80fa13 | 1 | #ifndef ADCBASIC |
Jamg | 11:3a83dd80fa13 | 2 | #define ADCBASIC |
Jamg | 11:3a83dd80fa13 | 3 | |
Jamg | 11:3a83dd80fa13 | 4 | #include "mbed.h" |
Jamg | 11:3a83dd80fa13 | 5 | void mejia_mensaje(){ |
Jajo | 15:29157e15b78e | 6 | if(dato[2]<=16200){ |
Jajo | 15:29157e15b78e | 7 | bled=1; |
Jajo | 15:29157e15b78e | 8 | rled=0; |
Jajo | 15:29157e15b78e | 9 | |
Jajo | 15:29157e15b78e | 10 | wait(.2); |
Jajo | 15:29157e15b78e | 11 | |
Jajo | 15:29157e15b78e | 12 | rled=1; |
Jajo | 15:29157e15b78e | 13 | }else{ |
Jajo | 15:29157e15b78e | 14 | bled=1; |
Jajo | 15:29157e15b78e | 15 | gled=0; |
Jajo | 15:29157e15b78e | 16 | |
Jajo | 15:29157e15b78e | 17 | wait(.2); |
Jajo | 15:29157e15b78e | 18 | gled=1; |
Jajo | 15:29157e15b78e | 19 | } |
Jajo | 15:29157e15b78e | 20 | } |
Jamg | 11:3a83dd80fa13 | 21 | #endif |
Jamg | 11:3a83dd80fa13 | 22 |