20 posts
Posted 31 March 2013 - 01:03 PM
I'm trying to run a program on my turtle from startup. shell.run freezes up my turtle and i have to destroy it the code that destroys it is below. Any help?
while true do
shell.run(UMD)
end
148 posts
Posted 31 March 2013 - 01:25 PM
#1 shell.run("UMD")
#2 What does UMD do? Does it yield? (That means do you have a sleep, os.pullEvent()/pullEventRaw or read in your program)
That might be your problem. If not, try to add a sleep(0) to your program. That is not that perfect, but it should work.
20 posts
Posted 31 March 2013 - 01:51 PM
#1 shell.run("UMD")
#2 What does UMD do? Does it yield? (That means do you have a sleep, os.pullEvent()/pullEventRaw or read in your program)
That might be your problem. If not, try to add a sleep(0) to your program. That is not that perfect, but it should work.
Yea it does have a sleep. What do i do if it yields?
Edit: Solved i needed the quotes