something

Dependencies:   mbed

Fork of HelloWorld by Vincent Cheung

Revision:
3:641eefd1110b
Parent:
2:e2ae43e8acab
Child:
4:f0a11480f39f
--- 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();
+        
     }
 }