updated
This commit is contained in:
2
main.lua
2
main.lua
@@ -49,7 +49,7 @@ local function runDisplay()
|
||||
monitor.setCursorPos(1, i + 1)
|
||||
end
|
||||
|
||||
sleep(0.25) -- Update every quarter second
|
||||
sleep(0.10) -- Update every tenth second
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -16,6 +16,6 @@ local function report()
|
||||
monitor.setBackgroundColor(color)
|
||||
value = getValue()
|
||||
monitor.clearLine()
|
||||
monitor.write("Turbine Steam Filled: " .. value .. "%")
|
||||
monitor.write("Turbine Steam" .. value .. "%")
|
||||
end
|
||||
return { report = report, watch = watch }
|
||||
Reference in New Issue
Block a user