Advertisement
SD_Ecliptica

Clock

Nov 23rd, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. m = peripheral.wrap("left")
  2. print("Running display script; CTRL+T to terminate.")
  3.  
  4. m.setTextScale(3)
  5. while true do
  6.   m.clear()
  7.   m.setCursorPos(2,2)
  8.   m.setTextColor(colors.yellow)
  9.   m.write(textutils.formatTime(os.time(), true))
  10.   m.setCursorPos(2,3)
  11.   sleep(0.5)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement