So you haven't the latest version.
No need add this variable.
You did some change in the tab "parametros"?
Check if is of this way:
int tempval = int(tempH * 10);
int fanSpeed = map(tempval, (HtempMin * 10), (HtempMax * 10), 0, 255); // Controle de velocidade das ventoinhas do dissipador
if (fanSpeed < 0)
{
fanSpeed = 0;
}
if (fanSpeed > 255)
{
fanSpeed = 255;
}
analogWrite(fanPin, fanSpeed);
if(tempH < HtempMin) // Desativa os coolers se a temperatura estive abaixo da mínima definida.
{
digitalWrite(desativarFanPin, LOW);
}
else
{
digitalWrite(desativarFanPin, HIGH);
}
You need check the behaviour of your fan manually, connecting directly on 12V and see what's the speed when blue wire is connected on 5V and GND.