Olivia Itzel Solano
/
Contador_De_Pasos
Contador de pasos
Diff: main.cpp
- Revision:
- 0:df404584fbad
- Child:
- 1:aa7e037498b3
- Child:
- 3:590e99aa338f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Feb 10 18:29:22 2016 +0000 @@ -0,0 +1,14 @@ +#include "mbed.h" +#include "MMA8451Q.h" + + +DigitalOut myled(LED1); + +int main() { + while(1) { + myled = 1; + wait(0.2); + myled = 0; + wait(0.2); + } +}