didix45

horloge auto

Dec 20th, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. ymon = peripheral.wrap("back")
  2. ymon.setTextScale(5)
  3. term.redirect(ymon)
  4. while true do
  5. sleep(1)
  6. term.setCursorPos(1,1)
  7. write(http.get("http://www.timeapi.org/cet/now?format=%20%25H:%25M:%25S").readAll())
  8. end
  9. term.restore()
Add Comment
Please, Sign In to add comment