Temperature sensor + Leds

Thanks for fast reply :slight_smile:

But what happens, if we have a situation like this? Do they both blink 2 times or 3 times?

digit1 = 2;
digit2 = 3;

while(var < digit1 && var < digit2)
{
digitalWrite(LEDpin1, HIGH);
digitalWrite(LEDpin2, HIGH);
delay(500);

digitalWrite(LEDpin1, LOW);
digitalWrite(LEDpin2, LOW);
delay(500);
var++;
}

Is it possible to make these leds blink different number of times?
It sounds quite complicated..

it is 23 degrees:
Led1__Led2
BLINK BLINK <- at the same time
BLINK BLINK
______BLINK