c #include "sensor.h" sensor_data_t data; if (sensor_read(&data) == 0) { printf("温度: %.1f, 湿度: %.1f\n", data.temperature, data.humidity); }