Posted 30 May 2014 - 01:51 AM
Well, I've been trying to send signals from my Pocket Computer to a mother computer which will then open my doors, but it hasn't been working, I was hoping you could tell me why it isn't.
COMPUTER CODE
POCKET CODE
COMPUTER CODE
term.clear()
rednet.open("top")
local c, d = rednet.recieve()
if d == "door" then
rs.setOutput("front", true)
sleep(2)
rs.setOutput("front", false)
end
POCKET CODE
term.clear()
rednet.open("back")
local a, b = os.pullEvent("key")
if b == "28" then
rednet.send(6, "door")
end