IIC OK but sensor error

This commit is contained in:
2025-08-14 00:41:12 +08:00
parent 54bf206ec3
commit 4e0ad6e8eb
9 changed files with 1315 additions and 16 deletions

28
Inc/sensor_example.h Normal file
View File

@@ -0,0 +1,28 @@
//
// Sensor Usage Example Header
// 传感器使用示例头文件
//
#ifndef SENSOR_EXAMPLE_H
#define SENSOR_EXAMPLE_H
#include "gd32e23x.h"
#include "board_config.h"
/*!
\brief 传感器初始化示例
\param[in] none
\param[out] none
\retval none
*/
void sensors_init_example(void);
/*!
\brief 传感器读取示例
\param[in] none
\param[out] none
\retval none
*/
void sensors_read_example(void);
#endif // SENSOR_EXAMPLE_H