if (swi==0)
{
analogWrite(LED,minlight);
}
else
{
analogWrite(LED,turbolight);
}
/*读取并显示温度
sensors.requestTemperatures(); // Send the command to get temperatures
lcd.setCursor(0, 1);
lcd.print("TemC: "); //print "Tem: " on lcd1602
lcd.print(sensors.getTempCByIndex(0));//print the temperature on lcd1602
lcd.print(char(223));//print the unit" ℃ "
lcd.print("C");
*/
}