updated
This commit is contained in:
@@ -2,7 +2,7 @@ local maxValue = 100
|
|||||||
local minValue = 0
|
local minValue = 0
|
||||||
|
|
||||||
local function configureReport(monitor)
|
local function configureReport(monitor)
|
||||||
local x,y = term.getCursorPos()
|
local x,y = monitor.getCursorPos()
|
||||||
monitor.setCursorPos(x, y + 1)
|
monitor.setCursorPos(x, y + 1)
|
||||||
monitor.clearLine()
|
monitor.clearLine()
|
||||||
end
|
end
|
||||||
|
|||||||
1
main.lua
1
main.lua
@@ -14,7 +14,6 @@ end
|
|||||||
local function runDisplay()
|
local function runDisplay()
|
||||||
monitor.clear()
|
monitor.clear()
|
||||||
monitor.setTextScale(1)
|
monitor.setTextScale(1)
|
||||||
monitor.setCursorPos(1,0)
|
|
||||||
while true do
|
while true do
|
||||||
local drivers = {
|
local drivers = {
|
||||||
{ Label = "Temperature", driver = tempDriver },
|
{ Label = "Temperature", driver = tempDriver },
|
||||||
|
|||||||
Reference in New Issue
Block a user