Seuil de température ARDUINO.

Est il possible de faire cela
float hyst;

if (temp > temperature_max + 2)
{
etat = HIGH;
}

if (temp < temperature_max - 1)
{
etat = LOW;