shekha & shhadi
/
demo_shekha_shhadi
demo_shekha_shhadi
main.cpp@3:8de0e4033414, 2016-05-02 (annotated)
- Committer:
- shekha_atrash
- Date:
- Mon May 02 14:14:39 2016 +0000
- Revision:
- 3:8de0e4033414
- Parent:
- 2:572611216f56
- Parent:
- 1:efed5f5ae31f
A merged version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shekha_atrash | 0:af6c1dbabbdb | 1 | #include "mbed.h" |
shekha_atrash | 0:af6c1dbabbdb | 2 | |
shekha_atrash | 1:efed5f5ae31f | 3 | DigitalOut myled(LED3); |
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 | 2:572611216f56 | 8 | wait(0.5); |
shekha_atrash | 0:af6c1dbabbdb | 9 | myled = 0; |
shekha_atrash | 2:572611216f56 | 10 | wait(0.5); |
shekha_atrash | 0:af6c1dbabbdb | 11 | } |
shekha_atrash | 0:af6c1dbabbdb | 12 | } |