diff options
Diffstat (limited to 'src/components/heartrate/Ptagc.h')
-rw-r--r-- | src/components/heartrate/Ptagc.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/heartrate/Ptagc.h b/src/components/heartrate/Ptagc.h new file mode 100644 index 00000000..c20de4c0 --- /dev/null +++ b/src/components/heartrate/Ptagc.h @@ -0,0 +1,18 @@ +#pragma once + +namespace Pinetime { + namespace Controllers { + class Ptagc { + public: + Ptagc(float start, float decay, float threshold); + float Step(float spl); + + private: + float peak; + float decay; + float boost; + float threshold; + + }; + } +} |