Advertisement
shiroxxblank

printPixels

Jun 29th, 2022
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. mon = peripheral.wrap("right")
  2.  
  3. function printPixel(x, y, color)
  4. mon.setCursorPos(x,y)
  5. mon.setBackgroundColor(color)
  6. mon.write(" ")
  7. end
  8.  
  9. printPixel(5,5,colors.white)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement