Contador de pasos

Dependencies:   MMA8451Q mbed

Committer:
OlySolano
Date:
Wed Feb 10 18:29:22 2016 +0000
Revision:
0:df404584fbad
Child:
1:aa7e037498b3
Child:
3:590e99aa338f
Proyecto: Contador de pasos; Integrantes: Olivia Itzel Solano Romero; Gilberto Gomez Navarro

Who changed what in which revision?

UserRevisionLine numberNew contents of line
OlySolano 0:df404584fbad 1 #include "mbed.h"
OlySolano 0:df404584fbad 2 #include "MMA8451Q.h"
OlySolano 0:df404584fbad 3
OlySolano 0:df404584fbad 4
OlySolano 0:df404584fbad 5 DigitalOut myled(LED1);
OlySolano 0:df404584fbad 6
OlySolano 0:df404584fbad 7 int main() {
OlySolano 0:df404584fbad 8 while(1) {
OlySolano 0:df404584fbad 9 myled = 1;
OlySolano 0:df404584fbad 10 wait(0.2);
OlySolano 0:df404584fbad 11 myled = 0;
OlySolano 0:df404584fbad 12 wait(0.2);
OlySolano 0:df404584fbad 13 }
OlySolano 0:df404584fbad 14 }