updated
This commit is contained in:
@@ -10,8 +10,8 @@ end
|
||||
|
||||
local function checkTemperature()
|
||||
local temperature = getValue()
|
||||
local upperThreshold = max - 20
|
||||
local lowerThreshold = min + 20
|
||||
local upperThreshold = max - 5
|
||||
local lowerThreshold = min + 5
|
||||
|
||||
if temperature >= upperThreshold then
|
||||
print("Warning: Temperature approaching upper limit! Taking action.")
|
||||
|
||||
Reference in New Issue
Block a user