12345678910111213141516171819 |
- #ifndef SSCMAN_H
- #define SSCMAN_H
- #include <stdint.h>
- #define SSC_I2C_ADDRESS 0x28
- extern uint16_t pressure_raw;
- // 函数声明
- void SSC_Init(void); // 初始化函数
- float Convert_Pressure_To_Pa(uint16_t raw_pressure);
- uint8_t SSC_ReadData(uint16_t* pressure); // 读取压力
- void Print_SensorData(void) ;
- void Zero_Point_Calibration(void);
- void Read_PressureData(void);
- #endif
|