Advertisement
melzneni

monitor_drawTest

Apr 22nd, 2020
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. os.loadAPI("vislib")
  2.  
  3. vislib.initRednet("top")
  4.  
  5. local monitor = vislib.monitor.connect("big")
  6.  
  7. local x,y=vislib.monitor.getSize(monitor)
  8.  
  9. print(x,",",y)
  10.  
  11.  
  12.  
  13. --while true do
  14. --
  15. -- for i,v in ipairs(isrlib.getEvents()) do
  16. -- io.write("event: ")
  17. -- vislib.printTable(v)
  18. -- end
  19. --
  20. -- sleep(0.5)
  21. --end
  22. --
  23. ----pastebin run 0YB9PsQV startup={files={vislib=<pb:GYvMFCY5>,isrlib=<pb:LJGYp69M>,draw=<pb:SDKQ3GAE>},cmds={{'draw'}}} label=<input:'Label'> reboot=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement