led test fork

Dependencies:   mbed

Fork of ledblinking by krishna kumar

Committer:
krishna54504
Date:
Fri Mar 11 04:12:02 2016 +0000
Revision:
0:87f47f8a67a8
Child:
1:967bb8e8290a
led

Who changed what in which revision?

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