DHT11 and Liquidcrystal setting cursor issue lcd_key = read_LCD_buttons();
float temp = dht.readTemperature();
delay(1000);
// lcd.setCursor(0,0);

if(temp &lt; 0) {
    lcd.print(temp);  
}

if(temp &gt;= 0.00 || temp &lt;= 5.00) {
    lcd.setCursor(0,6);
    lcd.print(temp);
    delay(100);  
}


Here I got simple code about reading temperature from DHT sensor and lcd but when I raise or lower the DHT's temperature the lcd's cursor always printing my data from 0,0.

I want that when the temperature between 0-5 celcius it shall write data on 0,6 in lcd screen but this code not working.

Thank you for answers.
I guess it because you use

if(temp &gt;= 0.00 || temp &lt;= 5.00){ // writes over 0 OR under 5 which will always be true for all values measured


and not 

if(temp &gt;= 0.00 &amp;&amp; temp &lt;= 5.00){   // writes over 0 AND under 5 which you want