Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function infiniteLoop()
- while true do
- m = peripheral.wrap("left")
- m.setTextScale(1)
- local time = os.time()
- time = textutils.formatTime (time, false)
- m.clear()
- m.setCursorPos(1,1)
- m.write(time)
- sleep(1)
- end
- end
- if time == 12:00 then
- rs.setBundledOutput("back", 1)
- end
- infiniteLoop()
Advertisement
Add Comment
Please, Sign In to add comment