Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- x, y, z = gps.locate(1, false)
- x1 = string.sub(x, 1, 40)
- y1 = string.sub(y, 1, 40)
- z1 = string.sub(z, 1, 40)
- rednet.send(9, "X:" .. x1 .. " ".. "Y:" .. y1 .. " " .. "Z:" .. z1)
Add Comment
Please, Sign In to add comment