12345678910111213141516171819202122232425 |
- #ifndef _BLOOD_H
- #define _BLOOD_H
- #include "max30102.h"
- #include "algorithm.h"
- #include "math.h"
- typedef enum
- {
- BLD_NORMAL,
- BLD_ERROR,
-
- }BloodState;
- typedef struct
- {
- int heart;
- float SpO2;
- }BloodData;
- void blood_data_translate(void);
- void blood_data_update(void);
- void blood_Loop(void);
- #endif
|