Advertisement
Silasko

gps fun

Dec 1st, 2020 (edited)
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. function broadcastGPS()
  2. rednet.open("left")
  3. x,y,z = gps.locate()
  4. rednet.broadcast("gps: "..x.." "..y.." "..z)
  5. end
  6.  
  7. broadcastGPS()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement