Blinks_onBoard_LEDs

Dependencies:   mbed

Committer:
Eduvance
Date:
Sat May 17 15:51:39 2014 +0000
Revision:
0:33a805c5265b
Child:
1:b390181d55a5
InitialRawCommit

Who changed what in which revision?

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