Advertisement
Padilk

Untitled

Aug 21st, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. m = peripheral.wrap( "right" )
  2. x,y = m.getSize()
  3. m.clear()
  4.  
  5. c=1
  6.  
  7. for i=1,x do
  8. for j=1,y do
  9. m.setBackgroundColor(c)
  10. m.setCursorPos(i,j)
  11. m.write(j)
  12. c=c*2
  13. if c>33000 then c=1 end
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement