Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function phone_comeGPS()
- rednet.open("back")
- x2,y2,z2 = gps.locate()
- rednet.broadcast("come")
- --rednet.broadcast(x2,y2,z2)
- id,message = rednet.receive()
- print("Device "..id..": ")
- print(message)
- rednet.broadcast(x2)
- rednet.broadcast(y2)
- rednet.broadcast(z2)
- end
- phone_comeGPS()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement