Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = peripheral.wrap("monitor_15")
- m.clear()
- m.setTextScale(4)
- m.setTextColor(colors.red)
- function updateClock(m)
- while true do
- mcT = os.time()
- --m.setCursorPos(1,5)
- --m.clearLine()
- m.setCursorPos(3,2)
- m.write(textutils.formatTime(mcT))
- --m.setCursorPos(1,2)
- --m.clearLine()
- --m.setCursorPos(3,2)
- --m.write("Jour "..os.day())
- sleep(0.1)
- end
- end
- updateClock(m)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement