Illprotectjew

clock2

Feb 4th, 2014
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mon = peripheral.wrap("top") -- replace "left" with the side your monitor is on
  2. mon.setTextScale(2) -- change 5 to any any number between 0.5 and 5 to change the size of the text
  3. term.setTextColor(colors.red)
  4. while true do
  5. mon.clear()
  6. mon.setCursorPos(2,3)
  7. local nTime = os.time()
  8. mon.write(textutils.formatTime(nTime,false))
  9. sleep(.1)
  10. end
Advertisement
Add Comment
Please, Sign In to add comment