Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = peripheral.wrap( "right" )
- x,y = m.getSize()
- m.clear()
- c=1
- for i=1,x do
- for j=1,y do
- m.setBackgroundColor(c)
- m.setCursorPos(i,j)
- m.write(j)
- c=c*2
- if c>33000 then c=1 end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement