From ecb27790ffec503a46a1fd858aa21ca49d77ed51 Mon Sep 17 00:00:00 2001 From: jxh Date: Fri, 21 Mar 2025 03:51:20 +0800 Subject: [PATCH] =?UTF-8?q?#=20V1.0=20=E5=8A=9F=E8=83=BD=E5=9F=BA=E6=9C=AC?= =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 22bfd20..a712e91 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -422,13 +422,9 @@ getNanchangWeather () // 提取温湿度数据 JsonObject results_0 = doc["lives"][0]; - sensorData.temp = results_0["temperature_float"]; sensorData.humidity = results_0["humidity_float"]; - // Serial.print ("温度: " + String (sensorData.temp) + "°C"); - // Serial.println ("湿度: " + String (sensorData.humidity) + "%"); - client.stop (); return true; } \ No newline at end of file