updated all
This commit is contained in:
20
main.lua
20
main.lua
@@ -11,14 +11,18 @@ burnRateDriver = kernel.addDriver("burnrate_driver")
|
||||
|
||||
|
||||
local function runMonitors()
|
||||
while true do
|
||||
tempDriver.watch()
|
||||
coolantDriver.watch()
|
||||
statusDriver.watch()
|
||||
turbineDriver.watch()
|
||||
burnRateDriver.watch()
|
||||
sleep(0.05)
|
||||
end
|
||||
|
||||
|
||||
parallel.waitForAll(tempDriver.watch, coolantDriver.watch, statusDriver.watch, turbineDriver.watch, burnRateDriver.watch)
|
||||
|
||||
-- while true do
|
||||
-- tempDriver.watch()
|
||||
-- coolantDriver.watch()
|
||||
-- statusDriver.watch()
|
||||
-- turbineDriver.watch()
|
||||
-- burnRateDriver.watch()
|
||||
-- sleep(0.05)
|
||||
-- end
|
||||
end
|
||||
|
||||
local function runDisplay()
|
||||
|
||||
Reference in New Issue
Block a user