Kevin Chen
/
HelloWorld
a
Fork of HelloWorld by
Diff: main.cpp
- Revision:
- 3:641eefd1110b
- Parent:
- 2:e2ae43e8acab
diff -r e2ae43e8acab -r 641eefd1110b main.cpp --- a/main.cpp Mon Oct 24 01:11:37 2016 +0000 +++ b/main.cpp Wed Oct 26 21:17:17 2016 +0000 @@ -1,15 +1,16 @@ #include "mbed.h" #include "PaceHeart.h" -DigitalOut myled(LED1); +//DigitalOut output_pin_A(LED1); - +PaceHeart* Pacer = new PaceHeart(); int main() { while(1) { - myled = 1; - wait(0.2); - myled = 0; - wait(0.2); + + Pacer->pace_V(); + + Pacer->pace_A(); + } }