Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of HelloWorld by
PaceHeart.cpp
00001 #include "PaceHeart.h" 00002 00003 int p_pacingState = 0; 00004 int p_pacingMode = 0; 00005 int p_hysteresis = 0; 00006 int p_hysterwaiaInterval = 300; 00007 int lowrateInterval = 1000; 00008 double p_vPacwAmp = 3500.0; 00009 double p_vPaceWidth = 0.4; 00010 int p_VRP = 320; 00011 00012 int get_p_pacingState() 00013 { 00014 return p_pacingState; 00015 } 00016 int get_p_pacingMode() 00017 { 00018 return p_pacingMode; 00019 } 00020 int get_p_hysteresis() 00021 { 00022 return hysteresis; 00023 } 00024 void set_p_hysteresis(int x) 00025 { 00026 p_hysteresis = x; 00027 return; 00028 } 00029 int get_p_hysterwaiaInterval() 00030 { 00031 return p_hysterwaiaInterval; 00032 } 00033 void set_p_hysterwaiaInterval(int x) 00034 { 00035 p_hysterwaiaInterval = x; 00036 return; 00037 } 00038 int get_lowrateInterval() 00039 { 00040 return lowrateInterval; 00041 } 00042 void set_lowrateInterval(int x) 00043 { 00044 lowrateInterval = x; 00045 return; 00046 } 00047 00048 double get_p_vPacwAmp() 00049 { 00050 return p_vPacwAmp; 00051 } 00052 void set_p_vPacwAmp(double x) 00053 { 00054 p_vPacwAmp = x; 00055 return; 00056 } 00057 00058 double get_p_vPaceWidth() 00059 { 00060 return p_vPaceWidth; 00061 } 00062 void set_p_vPaceWidth(double x) 00063 { 00064 p_vPaceWidth = x; 00065 return; 00066 } 00067 00068 int get_p_VRP() 00069 { 00070 return p_VRP; 00071 } 00072 void set_p_VRP(int x) 00073 { 00074 p_VRP = x; 00075 return; 00076 }
Generated on Fri Jul 15 2022 20:14:10 by
1.7.2
