Advertisement
DustinRosebery

m_test

Nov 27th, 2016
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. m = peripheral.wrap("back")
  2. bg = colors.cyan
  3. text = colors.yellow
  4. x = 2
  5. y = 2
  6.  
  7. local function fill()
  8. for i = 1, 6 do
  9. for j = 1, 6 do
  10. m.setCursorPos(i,j)
  11. m.write(" ")
  12. end
  13. end
  14. end
  15.  
  16. m.setTextScale(2)
  17. m.setBackgroundColor(bg)
  18. fill()
  19. m.setTextColor(text)
  20. m.setCursorPos(x,y)
  21. m.write("340.0")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement