Kevin Chen
/
HelloWorld
a
Fork of HelloWorld by
main.cpp@5:402ac8c92d76, 2016-10-29 (annotated)
- Committer:
- kevinmadethis
- Date:
- Sat Oct 29 22:51:31 2016 +0000
- Revision:
- 5:402ac8c92d76
- Parent:
- 3:641eefd1110b
z;
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 | |
oopakhooo | 3:641eefd1110b | 4 | //DigitalOut output_pin_A(LED1); |
simon | 0:fb6bbc10ffa0 | 5 | |
oopakhooo | 3:641eefd1110b | 6 | PaceHeart* Pacer = new PaceHeart(); |
Judorunner | 2:e2ae43e8acab | 7 | |
simon | 0:fb6bbc10ffa0 | 8 | int main() { |
simon | 0:fb6bbc10ffa0 | 9 | while(1) { |
oopakhooo | 3:641eefd1110b | 10 | |
oopakhooo | 3:641eefd1110b | 11 | Pacer->pace_V(); |
oopakhooo | 3:641eefd1110b | 12 | |
oopakhooo | 3:641eefd1110b | 13 | Pacer->pace_A(); |
oopakhooo | 3:641eefd1110b | 14 | |
simon | 0:fb6bbc10ffa0 | 15 | } |
simon | 0:fb6bbc10ffa0 | 16 | } |