SSCMAN.h 389 B

12345678910111213141516171819
  1. #ifndef SSCMAN_H
  2. #define SSCMAN_H
  3. #include <stdint.h>
  4. #define SSC_I2C_ADDRESS 0x28
  5. extern uint16_t pressure_raw;
  6. // 函数声明
  7. void SSC_Init(void); // 初始化函数
  8. float Convert_Pressure_To_Pa(uint16_t raw_pressure);
  9. uint8_t SSC_ReadData(uint16_t* pressure); // 读取压力
  10. void Print_SensorData(void) ;
  11. void Zero_Point_Calibration(void);
  12. void Read_PressureData(void);
  13. #endif