This commit is contained in:
2025-06-14 18:32:44 -04:00
parent b5591b21b3
commit 387378b5cd

View File

@@ -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.")