first folk

Dependencies:   mbed

Fork of demo_program by -deleted-

Committer:
screamer
Date:
Thu Jun 07 12:16:11 2012 +0000
Revision:
2:34d3bf46c928
Parent:
0:ea96942621d5
Child:
3:f16745a202c2
added LED3

Who changed what in which revision?

UserRevisionLine numberNew contents of line
screamer 0:ea96942621d5 1 #include "mbed.h"
screamer 0:ea96942621d5 2
screamer 0:ea96942621d5 3 DigitalOut myled(LED1);
screamer 2:34d3bf46c928 4 DigitalOut newled(LED3);
screamer 0:ea96942621d5 5
screamer 0:ea96942621d5 6 int main() {
screamer 0:ea96942621d5 7 while(1) {
screamer 0:ea96942621d5 8 myled = 1;
screamer 2:34d3bf46c928 9 newled = 1;
screamer 0:ea96942621d5 10 wait(0.2);
screamer 0:ea96942621d5 11 myled = 0;
screamer 2:34d3bf46c928 12 myled = 0;
screamer 0:ea96942621d5 13 wait(0.2);
screamer 0:ea96942621d5 14 }
screamer 0:ea96942621d5 15 }