demo_shekha_shhadi

Dependencies:   mbed

Committer:
shekha_atrash
Date:
Mon May 02 13:54:48 2016 +0000
Revision:
0:af6c1dbabbdb
Child:
1:efed5f5ae31f
Child:
2:572611216f56
1'st revision

Who changed what in which revision?

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