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