jinhun kim / Mbed 2 deprecated mbed_blinky

Dependencies:   mbed

Committer:
Corinthians
Date:
Wed Nov 19 07:02:46 2014 +0000
Revision:
1:ffc2292c68db
Parent:
0:c68f197c8608
Child:
2:6fbcc988ac6a
change led color;

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 1:ffc2292c68db 7 myled = 0;
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 }