jinhun kim / Mbed 2 deprecated mbed_blinky

Dependencies:   mbed

Committer:
Corinthians
Date:
Wed Nov 19 07:01:18 2014 +0000
Revision:
0:c68f197c8608
Child:
1:ffc2292c68db
led 2

Who changed what in which revision?

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