jin young sung / Mbed 2 deprecated Led Clock Download Featured

Dependencies:   mbed

Committer:
darzento
Date:
Thu Apr 02 14:03:30 2015 +0000
Revision:
1:cd96d1c79a8b
Parent:
0:878a51a3652a
Child:
3:26633efdb309
asdf

Who changed what in which revision?

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