This commit is contained in:
2025-06-14 13:11:32 -04:00
parent 2146a8b1db
commit 51cda50b3c

View File

@@ -13,7 +13,6 @@ end
local function runDisplay()
while true do
monitor.clear()
monitor.setCursorPos(1,1)
local data = {
{ Label = "Temperature", value = tempDriver.report(reactor)},
@@ -22,6 +21,7 @@ local function runDisplay()
}
for i, item in ipairs(data) do
monitor.clearLine();
monitor.write(item.Label .. ": " .. item.value)
monitor.setCursorPos(1, i + 1)
end