first folk

Dependencies:   mbed

Fork of demo_program by -deleted-

Committer:
screamer
Date:
Thu Jun 07 12:14:57 2012 +0000
Revision:
1:42b1b06ed716
Parent:
0:ea96942621d5
Child:
3:f16745a202c2
changed LED1 to LED2

Who changed what in which revision?

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