This is a LED Demo for linknode

Dependencies:   mbed

Fork of mbed_blinky by Mbed

Committer:
MACRUM
Date:
Tue Mar 08 12:40:16 2016 +0000
Revision:
12:4cfe2fa00668
Parent:
4:81cea7a352b0
Child:
10:70f2c2e85c7f
Update libraries

Who changed what in which revision?

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