diff --git a/temperature_driver.lua b/temperature_driver.lua index 217e1cf..e737888 100644 --- a/temperature_driver.lua +++ b/temperature_driver.lua @@ -1,5 +1,5 @@ local max = 300 -local min = 250 +local min = 275 local function getValue() @@ -10,8 +10,8 @@ end local function checkTemperature() local temperature = getValue() - local upperThreshold = max - 5 - local lowerThreshold = min + 5 + local upperThreshold = max - 1 + local lowerThreshold = min + 1 if temperature >= upperThreshold then print("Warning: Temperature approaching upper limit! Taking action.")