Posted 23 August 2015 - 04:29 AM
Hi, I'm having trouble with making programs that let me execute commands wireless from a computer to a turtle.
I have the following program for the computer
term.write("Command: ")
message1=io.read()
rednet.broadcast(message1)
print(command1)
and this one is for the turtle.
rednet.receive()
shell.run(message1)
print(message1)
When ran the main computer seems the be working fine, but the turtle just shows a blank line and then ends.
All help is appreciated.
I have the following program for the computer
Spoiler
rednet.open("right")term.write("Command: ")
message1=io.read()
rednet.broadcast(message1)
print(command1)
and this one is for the turtle.
Spoiler
rednet.open("right")rednet.receive()
shell.run(message1)
print(message1)
When ran the main computer seems the be working fine, but the turtle just shows a blank line and then ends.
All help is appreciated.