![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
2
Fork of HelloWorld by
main.cpp@2:8201f7f62591, 2013-04-14 (annotated)
- Committer:
- drago6868
- Date:
- Sun Apr 14 19:43:22 2013 +0000
- Revision:
- 2:8201f7f62591
- Parent:
- 0:fb6bbc10ffa0
1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
simon | 0:fb6bbc10ffa0 | 1 | #include "mbed.h" |
simon | 0:fb6bbc10ffa0 | 2 | |
simon | 0:fb6bbc10ffa0 | 3 | DigitalOut myled(LED1); |
simon | 0:fb6bbc10ffa0 | 4 | |
simon | 0:fb6bbc10ffa0 | 5 | int main() { |
simon | 0:fb6bbc10ffa0 | 6 | while(1) { |
simon | 0:fb6bbc10ffa0 | 7 | myled = 1; |
drago6868 | 2:8201f7f62591 | 8 | wait(0.3); |
simon | 0:fb6bbc10ffa0 | 9 | myled = 0; |
drago6868 | 2:8201f7f62591 | 10 | wait(0.1); |
simon | 0:fb6bbc10ffa0 | 11 | } |
simon | 0:fb6bbc10ffa0 | 12 | } |