#include "./HAL/MAX30102/max30102.h"



uint16_t heart_rate;                    //心率
uint16_t blood_oxygen;                  //血氧

 
      if(time_1s == 1)
    {
        time_1s = 0;
    max30102_readData();
        heart_rate = max30102.par.heartRate;//心率参数
    blood_oxygen = max30102.par.sop2;   //血氧
    }

 

主题授权提示:请在后台主题设置-主题授权-激活主题的正版授权,授权购买:RiTheme官网

发表回复

后才能评论