Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local monitor = peripheral.find("monitor")
- monitor.setTextScale(.5)
- monitor.setBackgroundColor(colors.white)
- monitor.clear()
- --local rsOut =
- local pins = {}
- for i = 1, 3 do
- for j = 1, 3 do
- table.insert(pins, window.create(monitor, i^2, j^2, 1, 1))
- end
- end
- for k, v in pairs(pins) do
- v.setBackgroundColor(colors.gray)
- v.clear()
- end
Advertisement
Add Comment
Please, Sign In to add comment