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 Assignment2 by
Diff: PaceHeart.h
- Revision:
- 5:45d58f8a5912
- Parent:
- 3:641eefd1110b
- Child:
- 6:9b8fee13549c
--- a/PaceHeart.h Mon Nov 14 19:59:54 2016 +0000 +++ b/PaceHeart.h Mon Nov 14 21:36:01 2016 +0000 @@ -20,8 +20,13 @@ double p_aPaceAmp; double p_aPaceWidth; int p_ARP; + int activityThresh; + int reactionTime; + int responseFactor; + int recoveryTime; public: PaceHeart(); +PaceHeart(int mode); void pace_A(); void pace_A(double amp, double wid,int pin); void pace_V(double amp, double wid,int pin); @@ -50,5 +55,13 @@ void set_p_aPaceWidth(double x); int get_p_ARP(); void set_p_ARP(int x); +int get_activityThresh(); +int get_reactionTime(); +int get_responseFactor(); +int get_recoveryTime(); +void set_activityThresh(); +void set_reactionTime(); +void set_responseFactor(); +void set_recoveryTime(); }; #endif \ No newline at end of file