In this case, 2 keys for setting the maximum temperature value and 2 keys for setting the minimum temperature value are considered, and the temperature is detected by a LM35 sensor. If the measured temperature is lower than the minimum value, the Green LED turned on, and if the measured temperature is higher than the maximum value, the Red LED turned on until the temperature is set to the desired value.