MEJIALED1

Dependencies:   mbed

Committer:
Jamg
Date:
Wed Feb 17 14:06:01 2016 +0000
Revision:
0:1c341e381e12
MEJIA LED

Who changed what in which revision?

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