HI everyone, I've been trying to make a program advanced wireless sensing turtles to use them as remote scouts using openPeripherals, so far I'm about 40% done, but I've stumbling on a little piece of it, the sensor. I get how the sensor works and I know how to pull the data from sensor.sonicScan(), but when I can't seem to build the table I want from this. What I basically want its a table consisting of 25 entries, corresponding from upper left to right, to the pixels in the remote screen consisting of A,B or C depending on the distance from the turtle, eg.(vsn={"A","B","C"}. I plan to send this table through modem.transmit() as textutils.serialize() to the control computer to "see" whats in front of the turtle. The current code that I have right now its skipping numbers and not completing the table at all. Please help me. Thanks in advance.
EDIT:I have updated the code, but its still not working. Please help me!
Edited by WestWindsDemon, 21 June 2015 - 03:01 PM.