📅  最后修改于: 2022-03-11 14:58:30.546000             🧑  作者: Mango
-- Phone
rednet.open("back")
rednet.send(id, "command")
sleep(3)
rednet.close("back")
-- Receiver
rednet.open("left")
id, msg = rednet.receive()
if msg == "command" then
function()
rednet.close("left")
end