the circuit has two analog inputs, SLM and TMP, if SLM reaches the value 621 then PORTB.5 is turned on for a period of time proportional to TMP with the formula 384 * (tmp * (46/200) + 8)

the minimum time is 3625 seconds if TMP is less than 30, maximum is 10244 if TMP is equal or higher than 80

vref is set to VDD