Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function broadcastGPS()
- rednet.open("left")
- x,y,z = gps.locate()
- rednet.broadcast("gps: "..x.." "..y.." "..z)
- end
- broadcastGPS()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement