Worked on another SHARP distance sensor - see http://arduino.cc/playground/Main/MultiMap - don't know if the 2D120X works the same. At least you need to calibrate the multimap() tables.
Hopes this helps.
Worked on another SHARP distance sensor - see http://arduino.cc/playground/Main/MultiMap - don't know if the 2D120X works the same. At least you need to calibrate the multimap() tables.
Hopes this helps.