Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local m1 = peripheral.find("monitor")
- m1.clear()
- m1.setTextScale(2)
- while true do
- local t1 = os.time()
- local d1 = os.day()
- local f1 = textutils.formatTime(t1, false)
- m1.setCursorPos(1,2)
- m1.write(" The Time is: "..f1)
- m1.write(" On day "..d1)
- os.sleep( 1 )
- m1.clear()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement