![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
an amazing blinking ked project
main.cpp@0:6297d2584ee4, 2016-04-06 (annotated)
- Committer:
- yanay_amir
- Date:
- Wed Apr 06 11:21:16 2016 +0000
- Revision:
- 0:6297d2584ee4
- Child:
- 1:6cf4b87b7961
- Child:
- 2:fe0028aeee9c
1'st version
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 | 0:6297d2584ee4 | 8 | wait(0.2); |
yanay_amir | 0:6297d2584ee4 | 9 | myled = 0; |
yanay_amir | 0:6297d2584ee4 | 10 | wait(0.2); |
yanay_amir | 0:6297d2584ee4 | 11 | } |
yanay_amir | 0:6297d2584ee4 | 12 | } |