updated
This commit is contained in:
@@ -6,4 +6,11 @@ local function report(reactor)
|
||||
end
|
||||
end
|
||||
|
||||
return { report = report }
|
||||
local function watch(reactor, monitor)
|
||||
while true do
|
||||
print("Temperature: " .. report(reactor))
|
||||
sleep(1)
|
||||
end
|
||||
end
|
||||
|
||||
return { report = report, watch = watch }
|
||||
Reference in New Issue
Block a user