weeb grammers
/
Assignment2
something
Fork of HelloWorld by
main.cpp@2:e2ae43e8acab, 2016-10-24 (annotated)
- Committer:
- Judorunner
- Date:
- Mon Oct 24 01:11:37 2016 +0000
- Revision:
- 2:e2ae43e8acab
- Parent:
- 0:fb6bbc10ffa0
- Child:
- 3:641eefd1110b
fbf
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
simon | 0:fb6bbc10ffa0 | 1 | #include "mbed.h" |
Judorunner | 2:e2ae43e8acab | 2 | #include "PaceHeart.h" |
simon | 0:fb6bbc10ffa0 | 3 | |
simon | 0:fb6bbc10ffa0 | 4 | DigitalOut myled(LED1); |
simon | 0:fb6bbc10ffa0 | 5 | |
Judorunner | 2:e2ae43e8acab | 6 | |
Judorunner | 2:e2ae43e8acab | 7 | |
simon | 0:fb6bbc10ffa0 | 8 | int main() { |
simon | 0:fb6bbc10ffa0 | 9 | while(1) { |
simon | 0:fb6bbc10ffa0 | 10 | myled = 1; |
simon | 0:fb6bbc10ffa0 | 11 | wait(0.2); |
simon | 0:fb6bbc10ffa0 | 12 | myled = 0; |
simon | 0:fb6bbc10ffa0 | 13 | wait(0.2); |
simon | 0:fb6bbc10ffa0 | 14 | } |
simon | 0:fb6bbc10ffa0 | 15 | } |