From 387378b5cd9c2310397a66199a2c3032999562a7 Mon Sep 17 00:00:00 2001 From: itzmarkoni Date: Sat, 14 Jun 2025 18:32:44 -0400 Subject: [PATCH] updated --- temperature_driver.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.")