Posted 10 August 2012 - 02:06 AM
i felt like making a trilaterator that sends the information to a computer that displays the location on a monitor
rednet.open ("top")
mon = peripheral.wrap ("back")
mon.clear()
mon.setCursorPos (1,1)
while true do
id, msg = rednet.receive()
client = id
print (client)
if msg == "server.gps.connect" then break
end
end
mon.write ("client conected at ")
print (client) -- test to see if value exists
mon.print (client)
mon.print (client) gives a attempt to call nil