From 4a29e59d5202c8b9bb183fc7c611308b62e19839 Mon Sep 17 00:00:00 2001 From: itzmarkoni Date: Sat, 14 Jun 2025 17:18:20 -0400 Subject: [PATCH] updated --- burnrate_driver.lua | 1 + coolant_driver.lua | 1 + main.lua | 2 +- status_driver.lua | 1 + temperature_driver.lua | 1 + turbine_driver.lua | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/burnrate_driver.lua b/burnrate_driver.lua index 93d5877..7e67ea7 100644 --- a/burnrate_driver.lua +++ b/burnrate_driver.lua @@ -16,6 +16,7 @@ end local function watch() while true do + sleep(0.05) -- Update every tenth second end end diff --git a/coolant_driver.lua b/coolant_driver.lua index 09e226c..577f226 100644 --- a/coolant_driver.lua +++ b/coolant_driver.lua @@ -14,6 +14,7 @@ end local function watch() while true do checkCoolantLevel() + sleep(0.05) end end diff --git a/main.lua b/main.lua index ac682aa..37c6edd 100644 --- a/main.lua +++ b/main.lua @@ -42,7 +42,7 @@ local function runDisplay() monitor.setCursorPos(1, i + 1) end - sleep(0.10) -- Update every tenth second + sleep(0.05) -- Update every tenth second end end diff --git a/status_driver.lua b/status_driver.lua index e1abab2..4742f29 100644 --- a/status_driver.lua +++ b/status_driver.lua @@ -11,6 +11,7 @@ end local function watch() while true do checkStatus() + sleep(0.05) -- Update every tenth second end end diff --git a/temperature_driver.lua b/temperature_driver.lua index c147124..3935a2b 100644 --- a/temperature_driver.lua +++ b/temperature_driver.lua @@ -17,6 +17,7 @@ local function watch() while true do print("Temperature: " .. getValue()) checkTemperature() + sleep(0.05) -- Update every tenth second end end function checkTemperature() diff --git a/turbine_driver.lua b/turbine_driver.lua index a2df051..dcebb27 100644 --- a/turbine_driver.lua +++ b/turbine_driver.lua @@ -15,6 +15,7 @@ end local function watch() while true do checkSteamLevel() + sleep(0.05) -- Update every tenth second end end