Posted 27 November 2012 - 04:55 AM
Why this basic program not work?
Computer:
Turtle:
Computer:
rs.setOutput("left",true)
rednet.open("right")
write "Message: "
input = read()
rednet.broadcast(input)
Turtle:
term.clear()
print ("Write Turtle Commands From Pc")
sleep(0)
action, senderID, text= os.pullEvent()
rednet.open("right")
if action == "rednet_message" then
if text == "Forward" then
turtle.forward()
end
end