Posted 19 July 2015 - 05:19 PM
Hey,
I'm trying to figure out computercraft with some basic stuff, but I have no idea why my monitor does not refresh. It shows the time but then does not update anymore. I tried looking into the forums but I could not find an answer.
Thanks in advance!
I'm trying to figure out computercraft with some basic stuff, but I have no idea why my monitor does not refresh. It shows the time but then does not update anymore. I tried looking into the forums but I could not find an answer.
Thanks in advance!
local monitor = peripheral.wrap( "top" )
local time = os.time()
while true do
monitor.setCursorPos(1,1)
monitor.write(textutils.formatTime(time,true))
sleep(1)
end