View difference between Paste ID: p7XsZQVw and DQDgehVJ
SHOW: | | - or go back to the newest paste.
1-
maxX, maxY = term.getSize()
1+
monitor = "left"
2
local monitor = peripheral.wrap(monitor)
3
monitor.setTextScale(1)
4
maxX, maxY = monitor.getSize()
5
print("Max X: " .. maxX)
6
print("Max Y: " .. maxY)