tsui tsui / Mbed 2 deprecated Led_tikan

Dependencies:   mbed

Committer:
solarboat
Date:
Thu Jun 02 05:17:52 2011 +0000
Revision:
0:273901b9fcc0

        

Who changed what in which revision?

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