Advertisement
CryptekCoding

Clock

Mar 31st, 2014
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. -- screen function
  2. mon = peripheral.wrap("back")
  3. function fTime()
  4.   mon.setTextScale(0.8)
  5.   mon.setCursorPos(5,5)
  6.   mon.setTextColor(colors.red)
  7.   mon.write(textutils.formatTime(os.time(),false).." ")
  8.   sleep(0.1)
  9. end
  10.  
  11. while true do
  12.    fTime()
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement