系统时间,环境温度湿度功能

This commit is contained in:
sc committed 2025-12-28 21:21:47 +08:00
1 parent 823153c8ea
commit 0dfe8ddb1c
4 files changed
+28 -9

No files matched your search

+5 -2
View File
@@ -2,9 +2,12 @@
#include <string.h>
// ===== 实际定义 =====
//系统信息变量
rt_int32_t sys_temperature;//主机环境温度
rt_int32_t sys_humidity;//主机环境湿度
unsigned char sys_time[6];//系统时间
unsigned int sys_run_time;//运行时间
unsigned int sys_temperature;
unsigned int sys_humidity;
// 动态数据缓冲区(初始化为 NULL,后续分配)
char *DATA_dat;