a

Dependencies:   mbed

Fork of HelloWorld by Vincent Cheung

Revision:
2:e2ae43e8acab
Child:
3:641eefd1110b
diff -r 03c191369089 -r e2ae43e8acab PaceHeart.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PaceHeart.cpp	Mon Oct 24 01:11:37 2016 +0000
@@ -0,0 +1,76 @@
+#include "PaceHeart.h"
+
+int p_pacingState = 0;
+int p_pacingMode = 0;
+int p_hysteresis = 0;
+int p_hysterwaiaInterval = 300;
+int lowrateInterval = 1000;
+double p_vPacwAmp = 3500.0;
+double p_vPaceWidth = 0.4;
+int p_VRP = 320;
+
+int get_p_pacingState()
+{
+    return p_pacingState;
+}
+int get_p_pacingMode()
+{
+    return p_pacingMode;
+}
+int get_p_hysteresis()
+{
+    return hysteresis;
+}
+void set_p_hysteresis(int x)
+{
+    p_hysteresis = x;
+    return;
+}
+int get_p_hysterwaiaInterval()
+{
+    return p_hysterwaiaInterval;
+}
+void set_p_hysterwaiaInterval(int x)
+{
+    p_hysterwaiaInterval = x;
+    return;
+}
+int get_lowrateInterval()
+{
+    return lowrateInterval;
+}
+void set_lowrateInterval(int x)
+{
+    lowrateInterval = x;
+    return;
+}
+
+double get_p_vPacwAmp()
+{
+    return p_vPacwAmp;
+}
+void set_p_vPacwAmp(double x)
+{
+    p_vPacwAmp = x;
+    return;
+}
+
+double get_p_vPaceWidth()
+{
+    return p_vPaceWidth;
+}
+void set_p_vPaceWidth(double x)
+{
+    p_vPaceWidth = x;
+    return;
+}
+
+int get_p_VRP()
+{
+    return p_VRP;
+}
+void set_p_VRP(int x)
+{
+    p_VRP = x;
+    return;
+}
\ No newline at end of file