Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("back")
- day = os.day()
- time = os.time()
- mon.setTextScale(3)
- while true do
- mon.clear
- mon.setCursorPos(1,1)
- mon.write(http.get("http://www.tado87.be/computercraft/heure.php").readAll())
- mon.setCursorPos(1,2)
- mon.write(textutils.formatTime(time, true))
- mon.setCursorPos(1,3)
- mon.write("Jour "..day)
- day = os.day()
- time = os.time()
- sleep(0.3)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement