This commit is contained in:
2025-06-14 17:18:20 -04:00
parent 841f262dac
commit 4a29e59d52
6 changed files with 6 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ end
local function watch() local function watch()
while true do while true do
sleep(0.05) -- Update every tenth second
end end
end end

View File

@@ -14,6 +14,7 @@ end
local function watch() local function watch()
while true do while true do
checkCoolantLevel() checkCoolantLevel()
sleep(0.05)
end end
end end

View File

@@ -42,7 +42,7 @@ local function runDisplay()
monitor.setCursorPos(1, i + 1) monitor.setCursorPos(1, i + 1)
end end
sleep(0.10) -- Update every tenth second sleep(0.05) -- Update every tenth second
end end
end end

View File

@@ -11,6 +11,7 @@ end
local function watch() local function watch()
while true do while true do
checkStatus() checkStatus()
sleep(0.05) -- Update every tenth second
end end
end end

View File

@@ -17,6 +17,7 @@ local function watch()
while true do while true do
print("Temperature: " .. getValue()) print("Temperature: " .. getValue())
checkTemperature() checkTemperature()
sleep(0.05) -- Update every tenth second
end end
end end
function checkTemperature() function checkTemperature()

View File

@@ -15,6 +15,7 @@ end
local function watch() local function watch()
while true do while true do
checkSteamLevel() checkSteamLevel()
sleep(0.05) -- Update every tenth second
end end
end end