Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local monitor = peripheral.wrap("back")
- monitor.setTextScale(4)
- while true do
- monitor.write(textutils.formatTime(os.time(), true))--os.time()
- sleep(1)
- monitor.clear()
- monitor.setCursorPos(1,1)
- if rs.getInput("top") == true then
- term.clear()
- term.setCursorPos()
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement