Vincent Cheung
/
HelloWorld
h
Fork of HelloWorld by
main.cpp@3:641eefd1110b, 2016-10-26 (annotated)
- Committer:
- oopakhooo
- Date:
- Wed Oct 26 21:17:17 2016 +0000
- Revision:
- 3:641eefd1110b
- Parent:
- 2:e2ae43e8acab
- Child:
- 4:f0a11480f39f
hk;
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 | } |