Advertisement
Guest User

t.lua

a guest
Nov 7th, 2016
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. local component = require("component")
  2. local monitor = component.computercraft_advanced_monitor
  3. local gpu = component.gpu
  4. local function TestScreen()
  5.   local x = gpu.bind(monitor.address)
  6.   if x ~= true then
  7.     component.invoke(monitor.address,"write","Hello World!")
  8.   else
  9.     term.write("Hello World!")
  10.   end
  11. end
  12. TestScreen()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement