Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monitor = peripheral.find("monitor")
- while true do
- local time = os.time()
- local formattedTime = textutils.formatTime(time, false)
- monitor.setTextScale(0.5)
- term.setCursorPos(1,1)
- term.clear()
- print("Il est " .. formattedTime)
- sleep(0.8)
- end
- shell.run("monitor","back","time") -- a mettre sur startup
Add Comment
Please, Sign In to add comment