ss
Dependencies: MotionSensor mbed
Fork of Assignment2_ver2 by
Diff: PaceHeart.h
- Revision:
- 7:6dc42e1a2a81
- Parent:
- 6:9b8fee13549c
--- a/PaceHeart.h Mon Nov 14 22:47:00 2016 +0000 +++ b/PaceHeart.h Tue Nov 29 20:21:45 2016 +0000 @@ -24,18 +24,20 @@ int p_activityThresh; int p_reactionTime; int p_responseFactor; - int p_recoveryTime; + int p_recoveryTime; + int dir; // variable to track direction of increment 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); +void pace_A(double amp, double wid); +void pace_V(double amp, double wid); void pace_V(); void pace(); void pace(int x); int get_p_pacingState(); int get_p_pacingMode(); +void set_p_pacingMode(int x); int get_p_hysteresis(); void set_p_hysteresis(int x); int get_p_hysteresisInterval(); @@ -66,5 +68,6 @@ void set_p_reactionTime(int x); void set_p_responseFactor(int x); void set_p_recoveryTime(int x); +void set_dir(int x); }; #endif \ No newline at end of file