(uint16_t i = 0; i < strip.numPixels(); i++) { strip.setPixelColor(i, c); } strip.show(); } void read() { sensor_tem = SHT2x.GetTemperature() ;//把获得的温度值赋给变量sensor_tem Serial.print(sensor_tem); Serial.println("tem"); Serial.print(SHT2x.GetHumidity()); ...
(uint16_t i = 0; i < strip.numPixels(); i++) { strip.setPixelColor(i, c); } strip.show(); } void read() { sensor_tem = SHT2x.GetTemperature() ;//把获得的温度值赋给变量sensor_tem Serial.print(sensor_tem); Serial.println("tem"); Serial.print(SHT2x.GetHumidity()); ...