Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local monitor = peripheral.wrap("front")
- local function getTime(Tformat)
- local site = http.get("http://mariomarco.funpic.de/others/TIME.php?format=" .. Tformat)
- return site.readAll()
- end
- while true do
- monitor.setCursorPos(1,1)
- monitor.write(getTime("G:i"))
- sleep(60)
- end
Advertisement
Add Comment
Please, Sign In to add comment