-
Notifications
You must be signed in to change notification settings - Fork 0
/
bioData.h
37 lines (30 loc) · 1.22 KB
/
bioData.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/******************************************************************************
* *
* Program : TTGO_smart_watch *
* *
* Date : 06 / 06 / 2022 *
* *
* Programmer : Nikita Seliverstov (nikselko) *
* *
* *
******************************************************************************/
#define INTERVAL_MESSAGE2 60000
#define TIMETOBOOT 3000
#define SCALE 88.0
#define SAMPLING 5
#define FINGER_ON 80000
#define MINIMUM_SPO2 0.0
#include <Wire.h>
#include <SimpleTimer.h>
#include "MAX30105.h"
#include "heartRate.h"
const byte RATE_SIZE = 4;
class BioData
{
public:
MAX30105 particleSensor;
SimpleTimer timer;
byte rates[RATE_SIZE];
String displayHeart();
BioData();
};