![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
an amazing blinking ked project
main.cpp@2:fe0028aeee9c, 2016-04-06 (annotated)
- Committer:
- yanay_amir
- Date:
- Wed Apr 06 11:37:11 2016 +0000
- Revision:
- 2:fe0028aeee9c
- Parent:
- 0:6297d2584ee4
- Child:
- 3:c384cf223595
Changed Wait to 0.5
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yanay_amir | 0:6297d2584ee4 | 1 | #include "mbed.h" |
yanay_amir | 0:6297d2584ee4 | 2 | |
yanay_amir | 0:6297d2584ee4 | 3 | DigitalOut myled(LED1); |
yanay_amir | 0:6297d2584ee4 | 4 | |
yanay_amir | 0:6297d2584ee4 | 5 | int main() { |
yanay_amir | 0:6297d2584ee4 | 6 | while(1) { |
yanay_amir | 0:6297d2584ee4 | 7 | myled = 1; |
yanay_amir | 2:fe0028aeee9c | 8 | wait(0.5); |
yanay_amir | 0:6297d2584ee4 | 9 | myled = 0; |
yanay_amir | 2:fe0028aeee9c | 10 | wait(0.5); |
yanay_amir | 0:6297d2584ee4 | 11 | } |
yanay_amir | 0:6297d2584ee4 | 12 | } |